From 61e4e92cf683520eb53b4c1d1889f3256a8b754b Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 11 Oct 2020 17:01:45 +0100 Subject: more testing of CAFSingleDateEventForm --- ctrack/register/forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ctrack/register/forms.py') 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() -- cgit v1.2.3