fixed pep8 error
This commit is contained in:
parent
2fcf0b3a07
commit
6417f5f107
@ -262,7 +262,6 @@ class CreateView(PermissionMixin, _CreateView):
|
|||||||
raise ImproperlyConfigured(
|
raise ImproperlyConfigured(
|
||||||
"No URL to redirect to. Provide a apply_url.")
|
"No URL to redirect to. Provide a apply_url.")
|
||||||
|
|
||||||
|
|
||||||
def form_invalid(self, form):
|
def form_invalid(self, form):
|
||||||
messages.error(self.request, _('Please check the form for errors.'))
|
messages.error(self.request, _('Please check the form for errors.'))
|
||||||
return super(CreateView, self).form_invalid(form)
|
return super(CreateView, self).form_invalid(form)
|
||||||
|
Loading…
Reference in New Issue
Block a user