aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/register/forms.py
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-10-11 17:01:45 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-10-11 17:01:45 +0100
commit61e4e92cf683520eb53b4c1d1889f3256a8b754b (patch)
tree86a5eb3da74d569326e8f188b2ae497b6bccaab7 /ctrack/register/forms.py
parentca6a7cc617f9f0fb37931a1268a75ab9ec1879cd (diff)
more testing of CAFSingleDateEventForm
Diffstat (limited to '')
-rw-r--r--ctrack/register/forms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ctrack/register/forms.py b/ctrack/register/forms.py
index ef3ef14..cff2fe4 100644
--- a/ctrack/register/forms.py
+++ b/ctrack/register/forms.py
@@ -29,7 +29,7 @@ class AddMeetingForm(forms.ModelForm):
self.user = kwargs.pop("user")
super().__init__(*args, **kwargs)
- def save(self):
+ def save(self, **kwargs):
form = super().save(commit=False)
form.user = self.user
form.save()
@@ -51,7 +51,7 @@ class CAFSingleDateEventForm(forms.ModelForm):
self.user = kwargs.pop("user")
super().__init__(*args, **kwargs)
- def save(self):
+ def save(self, **kwargs):
form = super().save(commit=False)
form.user = self.user
form.save()