From 6417f5f10718a8f4d68963c72bca7f1f0e7905e1 Mon Sep 17 00:00:00 2001 From: Oskar Hahn Date: Sat, 5 Jan 2013 14:56:22 +0100 Subject: [PATCH] fixed pep8 error --- openslides/utils/views.py | 1 - 1 file changed, 1 deletion(-) diff --git a/openslides/utils/views.py b/openslides/utils/views.py index 0b3679f3a..603786370 100644 --- a/openslides/utils/views.py +++ b/openslides/utils/views.py @@ -262,7 +262,6 @@ class CreateView(PermissionMixin, _CreateView): raise ImproperlyConfigured( "No URL to redirect to. Provide a apply_url.") - def form_invalid(self, form): messages.error(self.request, _('Please check the form for errors.')) return super(CreateView, self).form_invalid(form)