|
@ -303,7 +303,7 @@ class ProblemAdmin(reversion.VersionAdmin): |
|
|
|
|
|
|
|
|
class ProblemNavrhAdmin(ProblemAdmin): |
|
|
class ProblemNavrhAdmin(ProblemAdmin): |
|
|
list_display = ['nazev', 'typ', 'stav', 'autor', 'timestamp'] |
|
|
list_display = ['nazev', 'typ', 'stav', 'autor', 'timestamp'] |
|
|
list_filter = ['typ', 'stav', 'timestamp'] |
|
|
list_filter = ['typ', 'zamereni', 'timestamp', 'stav'] |
|
|
|
|
|
|
|
|
def get_queryset(self, request): |
|
|
def get_queryset(self, request): |
|
|
qs = super(ProblemNavrhAdmin, self).get_queryset(request) |
|
|
qs = super(ProblemNavrhAdmin, self).get_queryset(request) |
|
|