summaryrefslogtreecommitdiff
path: root/docs/ref/forms/validation.txt
AgeCommit message (Collapse)Author
2014-08-31[1.7.x] Fixed #23391 -- Removed an erroneous backtip from the form's ↵Simon Charette
documentation. Thanks to Trac alias nessita for the report. Backport of ab9c886459 from master
2014-06-30[1.7.x] Fixed #21942 -- Moved Form.clean() to form API docs.Tim Graham
Thanks cjerdonek for the suggestion. Backport of 874053edf9 from master
2014-06-11[1.7.x] Fixed typo in docs/ref/forms/validation.txt.Maxime Lorant
Backport of c307383ec9 from master
2014-04-05[1.7.x] Fixed #22216 -- Added Form.non_field_errors to form API doc.Tim Graham
Backport of d2f4553d705951ca8043d687f9493c559f494a0c from master
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
2010-05-10Fixed #12001 -- Modified the example of form validation to use the form's ↵Russell Keith-Magee
error class, rather than assuming ErrorList. Thanks to Suor for the report, and timo for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13221 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09Fixed #12643 -- Added link to the ModelForm documentation clarifying the ↵Russell Keith-Magee
special requirements of a clean() method on a modelform. Thanks to fgaudin for the report, and ptone for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13163 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-05Merged soc2009/model-validation to trunk. Thanks, Honza!Joseph Kocherhans
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12098 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23Fixed #9902 -- Corrected misspelling in form validation documentation, ↵Gary Wilson Jr
thanks zunzun. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-22Changed some ReST formatting of headers (in forms/validation.txt).Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9666 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-04Fixed some markup errors in the form validation docs.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24Fixed #9384 -- Fixed a couple of typos. Thanks, Thomas Güttler and romke.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9255 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-09Fixed #9239 -- Somebody read my form validation docs from r9177 and found aMalcolm Tredinnick
typo in them. I guess that was predictable. Thanks, Berry Groenendijk git-svn-id: http://code.djangoproject.com/svn/django/trunk@9217 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06Added a lot more explanation about form field validation, including expandedMalcolm Tredinnick
examples. Fixed #5843, #6652, #7428. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9177 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-24Fixed #8512: Corrected typo in form validation documentation. Thanks for the ↵James Bennett
catch, Karen. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8511 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-23Massive reorganization of the docs. See the new docs online at ↵Jacob Kaplan-Moss
http://docs.djangoproject.com/. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8506 bcc190cf-cafb-0310-a4f2-bffc1f526a37