Admin: Filtr na problémy podle stavu
This commit is contained in:
parent
355a591608
commit
9d6d4891d0
1 changed files with 1 additions and 0 deletions
|
|
@ -144,6 +144,7 @@ class ProblemAdmin(PolymorphicParentModelAdmin):
|
|||
]
|
||||
# Pokud chceme orezavat na aktualni rocnik, musime do modelu pridat odkaz na rocnik. Zatim bere vse.
|
||||
search_fields = ['nazev']
|
||||
list_filter = ['stav']
|
||||
|
||||
|
||||
# V ProblemAdmin to nejde, protoze se to nepropise do deti
|
||||
|
|
|
|||
Loading…
Reference in a new issue