django comments: how to prevent form errors from redirecting the user to the preview page? django comments: how to prevent form errors from redirecting the user to the preview page? django django

django comments: how to prevent form errors from redirecting the user to the preview page?


Looks like you have two real options:

  • Write your own view. Possibly copy that view's code to get started.
  • Patch that view to take an extra parameter, such as 'preview_on_errors' which defaults to True but can be overridden. Contribute the patch back to Django so other people can benefit from it.