Browse Source

Zobrazovani dat ve vypisu nezadanych Problemu

remotes/origin/Galerie
Bc. Petr Pecha 9 years ago
parent
commit
ae302bbc41
  1. 2
      seminar/admin.py

2
seminar/admin.py

@ -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):

Loading…
Cancel
Save