You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the contact form is submitted with an empty "name" field, but with the rest of the other fields filled:
Stacktrace (most recent call last):
File "django/core/handlers/base.py", line 111, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "django/views/generic/base.py", line 69, in view
return self.dispatch(request, *args, **kwargs)
File "django/views/generic/base.py", line 87, in dispatch
return handler(request, *args, **kwargs)
File "django/views/generic/edit.py", line 172, in post
if form.is_valid():
File "django/forms/forms.py", line 162, in is_valid
return self.is_bound and not bool(self.errors)
File "django/forms/forms.py", line 154, in errors
self.full_clean()
File "django/forms/forms.py", line 353, in full_clean
self._clean_fields()
File "django/forms/forms.py", line 371, in _clean_fields
value = getattr(self, 'clean_%s' % name)()
File "contact/forms.py", line 52, in clean_body
'comment_author': self.cleaned_data['name'],
The text was updated successfully, but these errors were encountered:
If the contact form is submitted with an empty "name" field, but with the rest of the other fields filled:
The text was updated successfully, but these errors were encountered: