mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-11-20 22:37:50 +00:00
add status filtering for submissions admin
This commit is contained in:
1 parent
ebb79117d4
commit
8ecc380c01
1 file changed
+1
-1
@@ -31,7 +31,7 @@ class CompetitionTaskSubmissionAdmin(admin.ModelAdmin):
|
|||||||
"user__username",
|
"user__username",
|
||||||
"user__email",
|
"user__email",
|
||||||
)
|
)
|
||||||
filter = ("plagiarism_checked",)
|
list_filter = ("plagiarism_checked", "status",)
|
||||||
ordering = ["-timestamp"]
|
ordering = ["-timestamp"]
|
||||||
|
|
||||||
def has_add_permission(self, request, obj=None):
|
def has_add_permission(self, request, obj=None):
|
||||||
|
|||||||
Reference in new issue
Block a user