Filtrováni řešitelů
This commit is contained in:
parent
e06080ae31
commit
8dbb92d3a4
1 changed files with 1 additions and 0 deletions
|
@ -53,6 +53,7 @@ class OrganizatorAdmin(ReverseModelAdmin):
|
||||||
@admin.register(m.Resitel)
|
@admin.register(m.Resitel)
|
||||||
class ResitelAdmin(ReverseModelAdmin):
|
class ResitelAdmin(ReverseModelAdmin):
|
||||||
search_fields = ['osoba__jmeno', 'osoba__prijmeni', 'osoba__prezdivka']
|
search_fields = ['osoba__jmeno', 'osoba__prijmeni', 'osoba__prezdivka']
|
||||||
|
list_filter = ['zasilat', 'zasilat_cislo_papirove', 'zasilat_cislo_emailem', 'rok_maturity']
|
||||||
ordering = ('osoba__prijmeni', 'osoba__jmeno')
|
ordering = ('osoba__prijmeni', 'osoba__jmeno')
|
||||||
inline_type = 'stacked'
|
inline_type = 'stacked'
|
||||||
inline_reverse = ['osoba']
|
inline_reverse = ['osoba']
|
||||||
|
|
Loading…
Reference in a new issue