From f743d70e6bd5011e5f72e87a0703d770a7ff7ef6 Mon Sep 17 00:00:00 2001 From: "Bc. Petr Pecha" Date: Thu, 17 Sep 2015 22:01:53 +0200 Subject: [PATCH] Do adminu pridano zamereni ulohy do nezadanych problemu --- seminar/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seminar/admin.py b/seminar/admin.py index f7f63434..9d8406ca 100644 --- a/seminar/admin.py +++ b/seminar/admin.py @@ -303,7 +303,7 @@ class ProblemAdmin(reversion.VersionAdmin): class ProblemNavrhAdmin(ProblemAdmin): list_display = ['nazev', 'typ', 'stav', 'autor', 'timestamp'] - list_filter = ['typ', 'stav', 'timestamp'] + list_filter = ['typ', 'zamereni', 'timestamp', 'stav'] def get_queryset(self, request): qs = super(ProblemNavrhAdmin, self).get_queryset(request)