X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/47351ab5748512a764719340c653bc7481b87f1a..820e41645dd2ed482850e260eab1f0ff138eb8b4:/contact/forms.py?ds=sidebyside diff --git a/contact/forms.py b/contact/forms.py index 4199dd7..1195f02 100644 --- a/contact/forms.py +++ b/contact/forms.py @@ -46,7 +46,7 @@ class ContactForm(forms.Form): contact = Contact.objects.create(body=body, ip=request.META['REMOTE_ADDR'], contact=self.cleaned_data['contact'], - form_tag=self.save_as_tag) + form_tag=save_as_tag) for name, value in self.cleaned_data.items(): if isinstance(value, UploadedFile): attachment = Attachment(contact=contact, tag=name)