Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check how exceptions in SetPasswordForm are handled #2

Open
antitoxic opened this issue Apr 30, 2015 · 0 comments
Open

Check how exceptions in SetPasswordForm are handled #2

antitoxic opened this issue Apr 30, 2015 · 0 comments

Comments

@antitoxic
Copy link
Member

Brought to attention while browsing: https://docs.djangoproject.com/en/1.7/ref/forms/validation/

Note that any errors raised by your Form.clean() override will not be
associated with any field in particular. They go into a special
“field” (called all), which you can access via the
non_field_errors() method if you need to. If you want to attach errors
to a specific field in the form, you need to call add_error().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant