Skip to content
Snippets Groups Projects
Commit bb074e4e authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Merge branch 'master' into checkpoint

parents e59c30dd 4e98b8a5
No related branches found
No related tags found
No related merge requests found
......@@ -172,7 +172,7 @@ class Event(ExtensibleModel):
if request.user.person in self.linked_group.members.all():
return False
if EventRegistration.objects.filter(person=request.user.person).exists():
if self.registrations.filter(person=request.user.person).exists():
return False
if (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment