Add duplication check for contest edit in group
This commit is contained in:
parent
0da2098bbe
commit
97d0239963
6 changed files with 64 additions and 25 deletions
|
@ -926,8 +926,12 @@ class EditOrganizationContest(
|
|||
super().post(request, *args, **kwargs)
|
||||
return HttpResponseRedirect(
|
||||
reverse(
|
||||
"organization_contests",
|
||||
args=(self.organization_id, self.organization.slug),
|
||||
"organization_contest_edit",
|
||||
args=(
|
||||
self.organization_id,
|
||||
self.organization.slug,
|
||||
self.contest.key,
|
||||
),
|
||||
)
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue