Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/docs/ref/forms/validation.txt
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #21894 -- Corrected a form.clean() example in case ↵Tim Graham2015-10-211-10/+18
| | | | a superclass doesn't return data.
* Used PEP 8 style indentation in forms docs.Nick Smith2015-06-111-2/+4
|
* Minor edits to docs/ref/forms/validation.txtI am Clinton2015-05-251-19/+18
|
* Fixed typos in docs/ref/forms/validation.txt.minusf2015-02-031-2/+2
|
* Removed versionadded/changed notes for 1.7.Tim Graham2015-02-021-8/+0
|
* Added missing backticks to form validation docsAlasdair Nicol2014-11-201-1/+1
|
* Removed confusing paragraph from the docs.Loic Bistuer2014-11-051-7/+0
| | | | | | | This snippet wasn't particularly helpful as `add_error()` is described in greater details in the following section. Thanks Claude Paroz for the report.
* Fixed #23391 -- Removed an erroneous backtip from the ↵Simon Charette2014-09-011-1/+1
| | | | | | form's documentation. Thanks to Trac alias nessita for the report.
* Fixed #21942 -- Moved Form.clean() to form API docs.Tim Graham2014-06-301-11/+13
| | | | Thanks cjerdonek for the suggestion.
* Fixed typo in docs/ref/forms/validation.txt.Maxime Lorant2014-06-111-1/+1
|
* Fixed #22216 -- Added Form.non_field_errors to form API doc.Tim Graham2014-04-061-3/+3
|
* Removed versionadded/changed annotations for 1.6.Tim Graham2014-03-241-2/+0
|
* Fixed #22313 -- Removed 'u' prefixes from documentationClaude Paroz2014-03-221-1/+1
|
* Fixed #21654 -- Documented a use-case for ↵Loic Bistuer2014-02-141-0/+7
| | | | | | Form.errors.as_data(). Thanks selwin for the suggestion.
* Always use parentheses when documenting a method with no ↵Baptiste Mispelon2014-01-221-1/+1
| | | | arguments.
* Removed Form._errors from the docs in favor of the ↵Loic Bistuer2013-11-291-93/+10
| | | | add_error API.
* Fixed #20867 -- Added the Form.add_error() method.Loic Bistuer2013-11-291-0/+28
| | | | | | Refs #20199 #16986. Thanks @akaariai, @bmispelon, @mjtamlyn, @timgraham for the reviews.
* Fixed typos in previous commit ↵Baptiste Mispelon2013-11-121-5/+5
| | | | (9aa6d4bdb6618ba4f17acc7b7c0d1462d6cbc718).
* Removed a mention of `Form._errors` from the documentation.Baptiste Mispelon2013-11-121-10/+6
| | | | | | | | 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.
* Fixed #21120 -- Added more explicit text on using ↵Ben Huckvale2013-09-231-3/+13
| | | | | | validators and link to writing validators. Thanks nicolas at niconomicon.net for the suggestion.
* Fixed #17627 -- Renamed util.py files to utils.pyTim Graham2013-09-161-2/+2
| | | | | Thanks PaulM for the suggestion and Luke Granger-Brown and Wiktor Kołodziej for the initial patch.
* Fixed #21009 -- Added a versionchanged note regarding ↵Tim Graham2013-09-051-0/+6
| | | | | | changes to clean(). refs [fb1dd6b13a] and [1c4a9bd9ad1]
* Removed versionadded/changed annotations for 1.5Tim Graham2013-08-191-8/+2
|
* Added an anchor for django.forms.Form.clean in docsTim Graham2013-08-081-0/+2
|
* Form.clean() does not need to return cleaned_data.Marc Tamlyn2013-08-081-10/+2
| | | | | If it does, that will be used as the cleaned_data. The default implementation has been changed to match this change.
* Fixed #20823 -- Typo in docs/ref/forms/validation.txtTim Graham2013-07-301-1/+1
|
* Fixed #20199 -- Allow ModelForm fields to override ↵Loic Bistuer2013-06-181-9/+101
| | | | error_messages from model fields
* add missing imports to the examples in the 'Forms'leandrafinger2013-05-191-0/+9
|
* Adapted uses of versionchanged/versionadded to the new form.Juan Catalano2013-04-201-4/+4
| | | | Refs #20104.
* Fixed #17051 -- Removed some 'invalid' field error messagesClaude Paroz2013-03-141-12/+8
| | | | | When the 'invalid' error message is set at field level, it masks the error message raised by the validator, if any.
* Fixed #17899 -- Rewrote [Ee]-mail to [Ee]mailAdrien Lemaire2012-09-261-2/+2
|
* clarify clean_<field> docs, ticket #18917Brad Pitcher2012-09-071-3/+2
|
* Fixed #5524 -- Do not remove cleaned_data when a form ↵Claude Paroz2012-08-041-4/+6
| | | | | | | | fails validation 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).
* Fixed #18445 -- Added a links in the docs.Aymeric Augustin2012-06-071-0/+2
| | | | Thanks Audrey Roy for the patch.
* Fixed #18269 -- Applied unicode_literals for Python 3 ↵Claude Paroz2012-06-071-2/+2
| | | | | | | compatibility. Thanks Vinay Sajip for the support of his django3 branch and Jannis Leidel for the review.
* Removed references to changes made in 1.2.Aymeric Augustin2012-06-071-3/+0
| | | | Thanks Florian Apolloner for the patch.
* Fixed #17182 -- Changed best practice documentation for ↵Jannis Leidel2012-02-041-2/+5
| | | | | | Form.clean to use 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
* Fixed many more ReST indentation errors, somehow ↵Luke Plant2011-10-141-66/+66
| | | | | | accidentally missed from [16955] git-svn-id: http://code.djangoproject.com/svn/django/trunk@16983 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #16014 -- numerous documentation typos -- thanks ↵Simon Meers2011-05-131-1/+1
| | | | | | psmith. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16220 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed some ReST errors from e-mail -> email change in ↵Adrian Holovaty2011-04-011-2/+2
| | | | | | docs, and changed some 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
* Changed e-mail to email throughout documentation and ↵Adrian Holovaty2011-04-011-5/+5
| | | | | | codebase. The one 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
* Fixed #15191 - typo in form validation docs; thanks ↵Timo Graham2011-01-301-1/+1
| | | | | | berto for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15372 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #14205 - Tiny grammar fix in form validation ↵Luke Plant2010-09-071-1/+1
| | | | | | | | | | documentation Thanks to zendak for report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #14141: docs now use the :doc: construct for links ↵Jacob Kaplan-Moss2010-08-191-2/+0
| | | | | | | | between documents. Thanks, Ramiro Morales. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #12001 -- Modified the example of form validation ↵Russell Keith-Magee2010-05-101-4/+2
| | | | | | to use the form's 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
* Fixed #12643 -- Added link to the ModelForm ↵Russell Keith-Magee2010-05-091-0/+5
| | | | | | documentation clarifying the 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
* Merged soc2009/model-validation to trunk. Thanks, Honza!Joseph Kocherhans2010-01-051-26/+87
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@12098 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #9902 -- Corrected misspelling in form validation ↵Gary Wilson Jr2008-12-231-3/+2
| | | | | | documentation, thanks zunzun. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Changed some ReST formatting of headers (in ↵Malcolm Tredinnick2008-12-221-2/+2
| | | | | | forms/validation.txt). git-svn-id: http://code.djangoproject.com/svn/django/trunk@9666 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed some markup errors in the form validation docs.Malcolm Tredinnick2008-12-041-5/+5
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@9564 bcc190cf-cafb-0310-a4f2-bffc1f526a37