summaryrefslogtreecommitdiff
path: root/docs/ref/forms/validation.txt
AgeCommit message (Collapse)Author
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.
2012-06-07Fixed #18269 -- Applied unicode_literals for Python 3 compatibility.Claude Paroz
Thanks Vinay Sajip for the support of his django3 branch and Jannis Leidel for the review.
2012-06-07Removed references to changes made in 1.2.Aymeric Augustin
Thanks Florian Apolloner for the patch.
2012-02-04Fixed #17182 -- Changed best practice documentation for Form.clean to use ↵Jannis Leidel
super() instead of relying on self.cleaned_data. Thanks, DrMeers. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17433 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-14Fixed many more ReST indentation errors, somehow accidentally missed from ↵Luke Plant
[16955] git-svn-id: http://code.djangoproject.com/svn/django/trunk@16983 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-13Fixed #16014 -- numerous documentation typos -- thanks psmith.Simon Meers
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16220 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-01Fixed some ReST errors from e-mail -> email change in docs, and changed some ↵Adrian Holovaty
docs that shouldn't have been changed (because translation strings haven't been converted yet) git-svn-id: http://code.djangoproject.com/svn/django/trunk@15968 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-01Changed e-mail to email throughout documentation and codebase. The one ↵Adrian Holovaty
exception is translation strings, which I didn't want to disrupt git-svn-id: http://code.djangoproject.com/svn/django/trunk@15967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-30Fixed #15191 - typo in form validation docs; thanks berto for the report.Timo Graham
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15372 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-07Fixed #14205 - Tiny grammar fix in form validation documentationLuke Plant
Thanks to zendak for report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-19Fixed #14141: docs now use the :doc: construct for links between documents.Jacob Kaplan-Moss
Thanks, Ramiro Morales. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13608 bcc190cf-cafb-0310-a4f2-bffc1f526a37