Browse Source

models.py: prijmeni -> osoba__prijmeni

export_seznamu_prednasek
Anet 6 years ago
parent
commit
72ee2a15ad
  1. 2
      seminar/models.py

2
seminar/models.py

@ -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)

Loading…
Cancel
Save