summaryrefslogtreecommitdiff
path: root/docs/ref/forms/validation.txt
AgeCommit message (Collapse)Author
2026-05-26Fixed #37116 -- Explained why a code is useful in a ValidationError.Arthur Vuillard
2025-08-25Refs #36485 -- Rewrapped docs to 79 columns line length.David Smith
Lines in the docs files were manually adjusted to conform to the 79 columns limit per line (plus newline), improving readability and consistency across the content.
2025-08-25Refs #36485 -- Removed unnecessary parentheses in :meth: and :func: roles in ↵David Smith
docs.
2025-07-23Removed double spaces after periods and within phrases.Sarah Boyce
2024-11-11Updated validate_slug regular expression in form validation docs.antoliny0919
Outdated since 014247ad1922931a2f17beaf6249247298e9dc44.
2024-05-30Made cosmetic edits to code snippets reformatted with blacken-docs.Mariusz Felisiak
2023-03-01Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.django-bot
2020-04-28Changed django.forms.ValidationError imports to ↵François Freitag
django.core.exceptions.ValidationError. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2020-04-09Mentioned non_field_errors in form validation docs.Shrikrishna Singh
2019-09-06Fixed #30573 -- Rephrased documentation to avoid words that minimise the ↵Tobias Kunze
involved difficulty. This patch does not remove all occurrences of the words in question. Rather, I went through all of the occurrences of the words listed below, and judged if they a) suggested the reader had some kind of knowledge/experience, and b) if they added anything of value (including tone of voice, etc). I left most of the words alone. I looked at the following words: - simply/simple - easy/easier/easiest - obvious - just - merely - straightforward - ridiculous Thanks to Carlton Gibson for guidance on how to approach this issue, and to Tim Bell for providing the idea. But the enormous lion's share of thanks go to Adam Johnson for his patient and helpful review.
2018-05-12Alphabetized imports in various docs.Mariusz Felisiak
Follow-up of d97cce34096043b019e818a7fb98c0f9f073704c and 7d3fe36c626a3268413eb86d37920f132eb4a54f.
2017-02-08Fixed #27821 -- Clarified docs of the return value of Form.clean_<fieldname>().Tim Graham
Thanks Christian Ullrich for the report and review.
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super() in docs.chillaranand
2016-06-27Fixed #26806 -- Triple quoted docstrings in docs/ref/forms/validation.txt.Anderson Resende
2016-01-22Fixed #26020 -- Normalized header stylings in docs.Elif T. Kus
2015-12-09Fixed typo in docs/ref/forms/validation.txt.Andrew Plummer
2015-10-21Fixed #21894 -- Corrected a form.clean() example in case a superclass ↵Tim Graham
doesn't return data.
2015-06-11Used PEP 8 style indentation in forms docs.Nick Smith
2015-05-25Minor edits to docs/ref/forms/validation.txtI am Clinton
2015-02-03Fixed typos in docs/ref/forms/validation.txt.minusf
2015-02-01Removed versionadded/changed notes for 1.7.Tim Graham
2014-11-20Added missing backticks to form validation docsAlasdair Nicol
2014-11-05Removed confusing paragraph from the docs.Loic Bistuer
This snippet wasn't particularly helpful as `add_error()` is described in greater details in the following section. Thanks Claude Paroz for the report.
2014-08-31Fixed #23391 -- Removed an erroneous backtip from the form's documentation.Simon Charette
Thanks to Trac alias nessita for the report.
2014-06-30Fixed #21942 -- Moved Form.clean() to form API docs.Tim Graham
Thanks cjerdonek for the suggestion.
2014-06-11Fixed typo in docs/ref/forms/validation.txt.Maxime Lorant
2014-04-05Fixed #22216 -- Added Form.non_field_errors to form API doc.Tim Graham
2014-03-24Removed versionadded/changed annotations for 1.6.Tim Graham
2014-03-22Fixed #22313 -- Removed 'u' prefixes from documentationClaude Paroz
2014-02-14Fixed #21654 -- Documented a use-case for Form.errors.as_data().Loic Bistuer
Thanks selwin for the suggestion.
2014-01-22Always use parentheses when documenting a method with no arguments.Baptiste Mispelon
2013-11-30Removed Form._errors from the docs in favor of the add_error API.Loic Bistuer
2013-11-30Fixed #20867 -- Added the Form.add_error() method.Loic Bistuer
Refs #20199 #16986. Thanks @akaariai, @bmispelon, @mjtamlyn, @timgraham for the reviews.
2013-11-12Fixed typos in previous commit (9aa6d4bdb6618ba4f17acc7b7c0d1462d6cbc718).Baptiste Mispelon
2013-11-12Removed a mention of `Form._errors` from the documentation.Baptiste Mispelon
Also removed a sentence that was incorrect: raising a `ValidationError` inside `Form.clean` doesn't clear the `cleaned_data` attribute. Thanks to loic84 and timograham for the review.
2013-09-23Fixed #21120 -- Added more explicit text on using validators and link to ↵Ben Huckvale
writing validators. Thanks nicolas at niconomicon.net for the suggestion.
2013-09-16Fixed #17627 -- Renamed util.py files to utils.pyTim Graham
Thanks PaulM for the suggestion and Luke Granger-Brown and Wiktor Kołodziej for the initial patch.
2013-09-05Fixed #21009 -- Added a versionchanged note regarding changes to clean().Tim Graham
refs [fb1dd6b13a] and [1c4a9bd9ad1]
2013-08-19Removed versionadded/changed annotations for 1.5Tim Graham
2013-08-08Added an anchor for django.forms.Form.clean in docsTim Graham
2013-08-08Form.clean() does not need to return cleaned_data.Marc Tamlyn
If it does, that will be used as the cleaned_data. The default implementation has been changed to match this change.
2013-07-29Fixed #20823 -- Typo in docs/ref/forms/validation.txtTim Graham
2013-06-18Fixed #20199 -- Allow ModelForm fields to override error_messages from model ↵Loic Bistuer
fields
2013-05-19add missing imports to the examples in the 'Forms'leandrafinger
2013-04-20Adapted uses of versionchanged/versionadded to the new form.Juan Catalano
Refs #20104.
2013-03-14Fixed #17051 -- Removed some 'invalid' field error messagesClaude Paroz
When the 'invalid' error message is set at field level, it masks the error message raised by the validator, if any.
2012-09-26Fixed #17899 -- Rewrote [Ee]-mail to [Ee]mailAdrien Lemaire
2012-09-07clarify clean_<field> docs, ticket #18917Brad Pitcher
2012-08-04Fixed #5524 -- Do not remove cleaned_data when a form fails validationClaude Paroz
cleaned_data is no longer deleted when form validation fails but only contains the data that did validate. Thanks to the various contributors to this patch (see ticket).
2012-06-07Fixed #18445 -- Added a links in the docs.Aymeric Augustin
Thanks Audrey Roy for the patch.