Skip to content

Commit

Permalink
fix: event group creation bug in admin
Browse files Browse the repository at this point in the history
KK-1108.
Browser tests found a bug in the event group creation from admin site.
  • Loading branch information
nikomakela committed Aug 22, 2024
1 parent 97bd17c commit 501fb82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion events/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ class Meta:

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
if self.instance:
if self.instance.pk:
self.fields["events"].initial = self.instance.events.all()


Expand Down

0 comments on commit 501fb82

Please sign in to comment.