FIX 6d5c77ee71
All checks were successful
buildbot/tox Build done.
All checks were successful
buildbot/tox Build done.
This commit is contained in:
@@ -690,7 +690,7 @@ class EventCreateView(EventPermissionMixin, generic.FormView):
|
||||
event.editor = self.request.user
|
||||
|
||||
# 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,
|
||||
first_day=event.first_day)
|
||||
if possible_doublets.exists():
|
||||
|
||||
Reference in New Issue
Block a user