FIX 6d5c77ee71
#34
@@ -690,7 +690,7 @@ class EventCreateView(EventPermissionMixin, generic.FormView):
|
|||||||
event.editor = self.request.user
|
event.editor = self.request.user
|
||||||
|
|
||||||
# Check for double submission (seems to happens accidentally if smartphone user reload the submit page)
|
# Check for double submission (seems to happens accidentally if smartphone user reload the submit page)
|
||||||
possible_doublets = models.Event.objects.filter(owner=event.editor,
|
possible_doublets = models.Event.objects.filter(owner=event.owner,
|
||||||
title=event.title,
|
title=event.title,
|
||||||
first_day=event.first_day)
|
first_day=event.first_day)
|
||||||
if possible_doublets.exists():
|
if possible_doublets.exists():
|
||||||
|
|||||||
Reference in New Issue
Block a user