Commit 03656886 authored by Willard's avatar Willard

Fix FormView not returning anything on invalid form

parent 27dc41ff
......@@ -15,7 +15,6 @@ class FormView(View):
if form.validate():
return self.render_post(**kwargs)
flash_form_errors(form)
elif request.method == 'GET':
return self.render_get(**kwargs)
def get_form(self):
raise NotImplementedError()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment