|
@ -197,7 +197,7 @@ class Rocnik(SeminarModelBase): |
|
|
db_table = 'seminar_rocniky' |
|
|
db_table = 'seminar_rocniky' |
|
|
verbose_name = u'Ročník' |
|
|
verbose_name = u'Ročník' |
|
|
verbose_name_plural = u'Ročníky' |
|
|
verbose_name_plural = u'Ročníky' |
|
|
ordering = ['rocnik'] |
|
|
ordering = ['-rocnik'] |
|
|
|
|
|
|
|
|
# Interní ID |
|
|
# Interní ID |
|
|
id = models.AutoField(primary_key = True) |
|
|
id = models.AutoField(primary_key = True) |
|
@ -253,7 +253,7 @@ class Cislo(SeminarModelBase): |
|
|
db_table = 'seminar_cisla' |
|
|
db_table = 'seminar_cisla' |
|
|
verbose_name = u'Číslo' |
|
|
verbose_name = u'Číslo' |
|
|
verbose_name_plural = u'Čísla' |
|
|
verbose_name_plural = u'Čísla' |
|
|
ordering = ['rocnik__rocnik', 'cislo'] |
|
|
ordering = ['-rocnik__rocnik', '-cislo'] |
|
|
|
|
|
|
|
|
# Interní ID |
|
|
# Interní ID |
|
|
id = models.AutoField(primary_key = True) |
|
|
id = models.AutoField(primary_key = True) |
|
|