|
|
@ -108,13 +108,11 @@ class OsobaAdmin(admin.ModelAdmin): |
|
|
|
@admin.register(m.Organizator) |
|
|
|
class OrganizatorAdmin(admin.ModelAdmin): |
|
|
|
search_fields = ['osoba__jmeno', 'osoba__prijmeni', 'osoba__prezdivka'] |
|
|
|
view_on_site = False |
|
|
|
|
|
|
|
@admin.register(m.Resitel) |
|
|
|
class ResitelAdmin(admin.ModelAdmin): |
|
|
|
search_fields = ['osoba__jmeno', 'osoba__prijmeni', 'osoba__prezdivka'] |
|
|
|
ordering = ('osoba__jmeno','osoba__prijmeni') |
|
|
|
view_on_site = False |
|
|
|
|
|
|
|
@admin.register(m.Problem) |
|
|
|
class ProblemAdmin(PolymorphicParentModelAdmin): |
|
|
|