FIX 6d5c77ee71
All checks were successful
buildbot/tox Build done.

This commit is contained in:
2020-12-18 16:43:23 +01:00
parent b89c4d26b3
commit 70c82f9b93

View File

@@ -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():