summaryrefslogtreecommitdiff
path: root/docs/ref/forms/api.txt
AgeCommit message (Collapse)Author
2014-08-14[1.7.x] Fixed a grammar error in docs/ref/forms/api.txt.Zhaorong Ma
Backport of bef5b9b7cd from master
2014-08-05[1.7.x] Fixed #21792 -- Documented Form.has_changed()Tim Graham
Thanks bjb at credil.org for the suggestion and Ivan Mesic for the draft patch. Backport of edcc75e5ac 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-24[1.7.x] Fixed #22796 -- Added a more basic explanations of forms.Daniele Procida
Thanks bmispelon, kezabelle, jorgecarleitao, and timgraham for reviews. Backport of cd20b5d186 from master
2014-05-24[1.7.x] Fixed #22510 -- Harden field removal to only None.Marc Tamlyn
Refs #8620. If we allow any value to remove form fields then we get name clashes with method names, media classes etc. There was a backwards incompatibility introduced meaning ModelForm subclasses with declared fields called media or clean would lose those fields. Field removal is now only permitted by using the sentinel value None. The docs have been slightly reworded to refer to removal of fields rather than shadowing. Thanks to gcbirzan for the report and initial patch, and several of the core team for opinions. Backport of 9fb0f5dddc4cf7f2d294af1bcde2c359cffd90a5 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-28Fixed #21962 -- Added escape_html flag to ErrorDict.as_json()vvojvoda
2014-02-14Fixed #21654 -- Documented a use-case for Form.errors.as_data().Loic Bistuer
Thanks selwin for the suggestion.
2014-02-13Fixed #21951 -- Updated docs to use __str__ for Python 3Alasdair Nicol
Thanks Tim Graham for the report and recommendations
2014-01-22Always use parentheses when documenting a method with no arguments.Baptiste Mispelon
2014-01-02Fixed #21319 -- Added documentation for the Form.fields attribute.Vajrasky Kok
Thanks pydanny for the report. Also, added documentation about base_fields attribute and its difference with fields attribute.
2013-12-16Fixed #17413 -- Serialization of form errors along with all metadata.Loic Bistuer
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-10-14Fixed #8620 -- Updated the Form metaclass to support excluding fields by ↵Loic Bistuer
shadowing them.
2013-10-12Forms docs: More emphasis in 'id' value customizability.Ramiro Morales
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-08-19Removed versionadded/changed annotations for 1.5Tim Graham
2013-07-26Fixed #20805 -- Removed an extra colon beside checkboxes in the admin.Tim Graham
Thanks CollinAnderson for the report.
2013-07-13Fixed #20582 -- Allowed default Form.label_suffix to be translatedClaude Paroz
Thanks Tim Graham for the review.
2013-07-05Fixed #20224 -- Update docs examples which mention __unicode__Claude Paroz
Thanks Marc Tamlyn and Tim Graham for the review.
2013-07-02A couple more semicolon -> colon fixes; refs #18134.Tim Graham
2013-06-10Fixed #18134 -- BoundField.label_tag now includes the form's label_suffixGabe Jackson
There was an inconsistency between how the label_tag for forms were generated depending on which method was used: as_p, as_ul and as_table contained code to append the label_suffix where as label_tag called on a form field directly did NOT append the label_suffix. The code for appending the label_suffix has been moved in to the label_tag code of the field and the HTML generation code for as_p, as_ul and as_table now calls this code as well. This is a backwards incompatible change because users who have added the label_suffix manually in their templates may now get double label_suffix characters in their forms.
2013-06-09Fixed #20567 - Documented BoundField.id_for_label.Tim Graham
Thanks littlepig for the suggestion.
2013-05-19add missing imports to the examples in the 'Forms'leandrafinger
2013-04-12Documented BoundField.label_tagClaude Paroz
2013-01-28Added HTML5 url input typeClaude Paroz
Refs #16630.
2013-01-28Added HTML5 email input typeClaude Paroz
Refs #16630.
2013-01-23Fixed #19610 - Added enctype note to forms topics doc.Tim Graham
Thanks will@ for the suggestion.
2013-01-02Fixed #19516 - Fixed remaining broken links.Tim Graham
Added -n to sphinx builds to catch issues going forward.
2012-12-26Fixed broken links, round 3. refs #19516Tim Graham
2012-09-26Fixed #17899 -- Rewrote [Ee]-mail to [Ee]mailAdrien Lemaire
2012-09-20Fixed #18934 - Removed versionadded/changed annotations for Django 1.3Tim Graham
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-07Removed references to changes made in 1.2.Aymeric Augustin
Thanks Florian Apolloner for the patch.
2012-04-30Replaced print statement by print function (forward compatibility syntax).Claude Paroz
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-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-03-22Fixed typo in forms API documentation.Simon Meers
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15896 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-07Fix the documentation of BoundField.value() to reference the correct method nameChris Beaven
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15772 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-26Fixed #14000 - remove versionadded/changed tags for Django 1.0 and 1.1Timo Graham
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-28Fixes #10427 -- Abstract the value generation of a BoundFieldChris Beaven
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14734 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-03-08Fixed #13037 -- Added documentation for the css_classes() helper class. ↵Russell Keith-Magee
Thanks to marcusf for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12707 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-25Added a few Sphinx directives to the form API and template API docs.Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11984 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-12Fixed #3512: it's now possible to add CSS hooks to required/erroneous form ↵Jacob Kaplan-Moss
rows. Thanks, SmileyChris. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11830 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-03Fixed a whole bunch of small docs typos, errors, and ommissions.Jacob Kaplan-Moss
Fixes #8358, #8396, #8724, #9043, #9128, #9247, #9267, #9267, #9375, #9409, #9414, #9416, #9446, #9454, #9464, #9503, #9518, #9533, #9657, #9658, #9683, #9733, #9771, #9835, #9836, #9837, #9897, #9906, #9912, #9945, #9986, #9992, #10055, #10084, #10091, #10145, #10245, #10257, #10309, #10358, #10359, #10424, #10426, #10508, #10531, #10551, #10635, #10637, #10656, #10658, #10690, #10699, #19528. Thanks to all the respective authors of those tickets. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10371 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-16Edited some recent docs changesAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9042 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-15Added documentation of the Form class's custom __iter__ method to the forms ↵Simon Willison
API reference as well git-svn-id: http://code.djangoproject.com/svn/django/trunk@9031 bcc190cf-cafb-0310-a4f2-bffc1f526a37