models.py: prijmeni -> osoba__prijmeni

This commit is contained in:
Anet 2019-04-16 20:48:50 +02:00
parent 71eb5cfd57
commit 72ee2a15ad

View file

@ -118,7 +118,7 @@ class Resitel(SeminarModelBase):
db_table = 'seminar_resitele' db_table = 'seminar_resitele'
verbose_name = u'Řešitel' verbose_name = u'Řešitel'
verbose_name_plural = u'Řešitelé' verbose_name_plural = u'Řešitelé'
ordering = ['prijmeni', 'jmeno'] ordering = ['osoba__prijmeni', 'osoba__jmeno']
# Interní ID # Interní ID
id = models.AutoField(primary_key = True) id = models.AutoField(primary_key = True)