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",
|
"code",
|
||||||
"name",
|
"name",
|
||||||
"is_public",
|
"is_public",
|
||||||
"is_manually_managed",
|
|
||||||
"date",
|
"date",
|
||||||
"authors",
|
"authors",
|
||||||
"curators",
|
"curators",
|
||||||
|
@ -253,8 +252,6 @@ class ProblemAdmin(CompareVersionAdmin):
|
||||||
fields = self.readonly_fields
|
fields = self.readonly_fields
|
||||||
if not request.user.has_perm("judge.change_public_visibility"):
|
if not request.user.has_perm("judge.change_public_visibility"):
|
||||||
fields += ("is_public",)
|
fields += ("is_public",)
|
||||||
if not request.user.has_perm("judge.change_manually_managed"):
|
|
||||||
fields += ("is_manually_managed",)
|
|
||||||
return fields
|
return fields
|
||||||
|
|
||||||
def show_authors(self, obj):
|
def show_authors(self, obj):
|
||||||
|
|
Loading…
Reference in a new issue