mkoistinen / cmsplugin-form-handler

This package provides a mechanism for handling form-submissions in django-CMS plugins.
MIT License
14 stars 10 forks source link

Form Errors not Shown #8

Open jproffitt opened 5 years ago

jproffitt commented 5 years ago

If a form is submitted, and fails validation, the errors will not be shown in the form after redirection. The failed data is displayed in the form, but no errors. I think the solution is as easy as doing a form.is_valid() call in the render method if data was in the session for that form, because if data is in the session, then it must have failed validation.