Zobrazovani dat ve vypisu nezadanych Problemu

This commit is contained in:
Bc. Petr Pecha 2015-10-19 10:08:56 +02:00
parent 55b61e2519
commit ae302bbc41

View file

@ -319,7 +319,7 @@ class ProblemAdmin(reversion.VersionAdmin):
return obj.pocet_reseni return obj.pocet_reseni
class ProblemNavrhAdmin(ProblemAdmin): class ProblemNavrhAdmin(ProblemAdmin):
list_display = ['nazev', 'typ', 'zamereni', 'stav', 'autor', 'timestamp'] list_display = ['nazev', 'typ', 'stav', 'autor', 'timestamp']
list_filter = ['typ', 'zamereni', 'timestamp', 'stav'] list_filter = ['typ', 'zamereni', 'timestamp', 'stav']
def get_queryset(self, request): def get_queryset(self, request):