Change about file
This commit is contained in:
parent
539a2639ee
commit
d0a0f86d46
3 changed files with 2 additions and 3 deletions
|
@ -390,7 +390,7 @@ class OrganizationContestMixin(
|
|||
):
|
||||
model = Contest
|
||||
|
||||
def is_contest_editable(self, request, contest):
|
||||
def is_contest_able(self, request, contest):
|
||||
return request.profile in contest.authors.all() or self.can_edit_organization(
|
||||
self.organization
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue