Skip to content

Commit eacbadb

Browse files
committed
fix 404 for adding
fix 404 after the co-speaker press accept/decline during reviewing stage, which "SLUG.proposals.editable" is false.
1 parent a38921d commit eacbadb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/proposals/views/mixins.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ def can_edit(self):
2525
return reg.get(f'{settings.CONFERENCE_DEFAULT_SLUG}.proposals.editable', False)
2626

2727
def dispatch(self, request, *args, **kwargs):
28-
if not self.can_edit():
29-
raise Http404
3028
return super().dispatch(request, *args, **kwargs)
3129

3230

0 commit comments

Comments
 (0)