Browse Source

Do adminu pridano zamereni ulohy do nezadanych problemu

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

2
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)

Loading…
Cancel
Save