From 37a5818eb76ad75055807d300d1cdd6fb5821b0a Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 1 Jun 2020 16:32:03 +0100 Subject: engagement events now appear on org page --- ctrack/register/forms.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ctrack/register') diff --git a/ctrack/register/forms.py b/ctrack/register/forms.py index 021414d..0335149 100644 --- a/ctrack/register/forms.py +++ b/ctrack/register/forms.py @@ -38,6 +38,7 @@ class EngagementEventCreateForm(forms.ModelForm): ee = super().save(commit=False) if commit: ee.save() + self.save_m2m() # so that we also save the peoples! return ee class Meta: -- cgit v1.2.3