Remove manually managed from admin
This commit is contained in:
parent
e07fdc318f
commit
a1fd7caee4
1 changed files with 0 additions and 3 deletions
|
@ -185,7 +185,6 @@ class ProblemAdmin(CompareVersionAdmin):
|
|||
"code",
|
||||
"name",
|
||||
"is_public",
|
||||
"is_manually_managed",
|
||||
"date",
|
||||
"authors",
|
||||
"curators",
|
||||
|
@ -253,8 +252,6 @@ class ProblemAdmin(CompareVersionAdmin):
|
|||
fields = self.readonly_fields
|
||||
if not request.user.has_perm("judge.change_public_visibility"):
|
||||
fields += ("is_public",)
|
||||
if not request.user.has_perm("judge.change_manually_managed"):
|
||||
fields += ("is_manually_managed",)
|
||||
return fields
|
||||
|
||||
def show_authors(self, obj):
|
||||
|
|
Loading…
Reference in a new issue