|
@ -110,6 +110,7 @@ class Skola(SeminarModelBase): |
|
|
self.mesto)) |
|
|
self.mesto)) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@reversion.register(ignore_duplicates=True) |
|
|
@reversion.register(ignore_duplicates=True) |
|
|
@python_2_unicode_compatible |
|
|
@python_2_unicode_compatible |
|
|
class Resitel(SeminarModelBase): |
|
|
class Resitel(SeminarModelBase): |
|
@ -118,7 +119,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) |
|
|