Browse Source

korektury | trizeni souboru od nejmladsiho

remotes/origin/Petr
Bc. Petr Pecha 9 years ago
parent
commit
f4da10f9fa
  1. 18
      korektury/migrations/0009_trizeni_korektur_v_seznamu.py
  2. 1
      korektury/models.py

18
korektury/migrations/0009_trizeni_korektur_v_seznamu.py

@ -0,0 +1,18 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('korektury', '0008_auto_20151229_1556'),
]
operations = [
migrations.AlterModelOptions(
name='korekturovanepdf',
options={'ordering': ['-cas'], 'verbose_name': 'PDF k oprav\xe1m', 'verbose_name_plural': 'PDF k oprav\xe1m'},
),
]

1
korektury/models.py

@ -23,6 +23,7 @@ def generate_filename(self, filename):
#@python_2_unicode_compatible
class KorekturovanePDF(models.Model):
class Meta:
ordering = ['-cas']
db_table = 'korekturovane_cislo'
verbose_name = u'PDF k opravám'
verbose_name_plural = u'PDF k opravám'

Loading…
Cancel
Save