aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/register/forms.py
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-06-01 16:32:03 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-06-01 16:32:03 +0100
commit37a5818eb76ad75055807d300d1cdd6fb5821b0a (patch)
tree4f2d842cce767c3aad6c5d6bf4a0e7e809138d13 /ctrack/register/forms.py
parentb58ec416d86fc8a4c7816fe96d2b1030deff37a5 (diff)
engagement events now appear on org page
Diffstat (limited to 'ctrack/register/forms.py')
-rw-r--r--ctrack/register/forms.py1
1 files changed, 1 insertions, 0 deletions
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: