|
|
@ -160,7 +160,7 @@ class ResitelAdmin(reversion.VersionAdmin): |
|
|
|
] |
|
|
|
list_display = ['jmeno', 'prijmeni', 'user', 'pohlavi_muz', 'skola', 'rok_maturity', 'pocet_reseni'] |
|
|
|
list_filter = ['pohlavi_muz', 'rok_maturity', 'zasilat'] |
|
|
|
search_fields = ['jmeno', 'prijmeni', 'ulice', 'user', 'mesto', 'email'] |
|
|
|
search_fields = ['jmeno', 'prijmeni', 'ulice', 'mesto', 'email'] |
|
|
|
inlines = [ReseniKResiteliInline] |
|
|
|
|
|
|
|
def get_queryset(self, request): |
|
|
|