summaryrefslogtreecommitdiff
path: root/docs/topics/forms
AgeCommit message (Collapse)Author
2011-02-07[1.2.X] Fixed #15055 -- added information about (and an example of) the ↵Gabriel Hurley
csrf_token template tag to the forms documentation. Thanks to sneakyness for the report and bpeschier for the draft patch. Backport of [15445] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15446 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-26[1.2.X] Fixed #13949 - Note that readonly fields can't be modified via ↵Timo Graham
custom clean methods. thanks alk for the suggestion and elbarto and Gabriel Hurley whose language I used in the final patch. Backport of r15060 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-26[1.2.X] Fixed #14000 - Remove versionadded/changed tags for 1.0. thanks ramiro!Timo Graham
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15056 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13[1.2.X] Fixed #14897 -- fixed some synax highlighting in the formset ↵Alex Gaynor
documentation. Thanks to marcusf for the patch. Backport of [14912]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14913 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-28[1.2.X] Fixed #14791 - Clarify additional note on save(). Thanks OldTroll.Timo Graham
Backport of r14740 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14741 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-17[1.2.X] Corrected some syntax issues in the docs. Backport of [14598].Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14599 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-17[1.2.X] Fixed a bunch of code examples in the form media documentation.Jannis Leidel
Backport from trunk (r14594). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14596 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-23[1.2.X] Fixed #14537 -- Added documentation on where validators can be ↵Gabriel Hurley
imported from to Validators Reference docs, and improved Sphinx formatting and metadata. Thanks to rfugger for the report. Backport of [14331] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14332 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-10[1.2.X] Changed ModelForm.fields and ModelForm.exclude examples to use ↵Gabriel Hurley
tuples instead of lists since they were used inconsistently throughout the page (it wasn't hurting anything, but consistency is nice). Thanks to lspcity for the report and gruszczy for the patch. Backport of [14134] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14135 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-10[1.2.X] Makes links to form and field validation (and form reference docs in ↵Gabriel Hurley
general) more readily available from form topic overview. Thanks to john_fries for the report. Backport of [14112] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09[1.2.X] Fixed #11509 -- Modified usage of "Web" to match our style guide in ↵Russell Keith-Magee
various documentation, comments and code. Thanks to timo and Simon Meers for the work on the patch Backport of r14069 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14072 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08[1.2.X] Fixed #14023 -- include non_field_errors in example. Thanks to ↵Simon Meers
konryd for the report and patch. Backport of r14041 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14042 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-19[1.2.X] Fixed #14141: docs now use the :doc: construct for links between ↵Jacob Kaplan-Moss
documents. Thanks, Ramiro Morales. Backport of [13608] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-07[1.2.X] Fixed #11735 -- Corrected an example of FormSet subclassing. Thanks ↵Russell Keith-Magee
to claudep for the report. Backport of r13553 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13560 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17Fixed #13551 -- Corrected import in ModelForms example. Thanks to libber for ↵Russell Keith-Magee
the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13269 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-12Fixed #13530: Corrected a handful of doc typos. Thanks Ramiro.Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-12Fixed #13524 -- Added backwards compatibility and feature notes regarding ↵Russell Keith-Magee
admin inlines and formsets. Thanks to Ramiro Morales and Gabriel Hurley. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10Fixed #11908 -- Clarified the role and usage of the ManagementForm in ↵Russell Keith-Magee
formsets. Thanks to timo for the draft patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13222 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10Fixed #12505 -- Clarified the use of the extra argument in formsets. Thanks ↵Russell Keith-Magee
to Andreas for the report, and timo for the draft patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13218 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-08Fixed #13269 -- Added clarifying import statement to widget override docs. ↵Russell Keith-Magee
Thanks to mattrowbum for the report, and Gabriel Hurley for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13130 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-06Fixed #12691 -- Added a versionadded tag to the description of widget ↵Russell Keith-Magee
overrides in forms. Thanks to danielr for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13108 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-27Fixed #13023 - Removed ambiguity with regard to the max_num option of ↵Jannis Leidel
formsets and as a result of admin inlines. Thanks to Gabriel Hurley for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-06Fixed #12896. Documented the new side-effects of ModelForm validation.Joseph Kocherhans
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12693 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-01Updated formset docs to contain the new management form field for max_num ↵Jannis Leidel
values. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12373 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-26Fixed #12508 - Added ability to dynamically add inlines in the admin app.Jannis Leidel
Refs #13. Also introduces an ``empty_form`` attribute on formsets to make it easier to implement dynamic forms. Many thanks to Zain Memon for the initial patch from his Summer of Code 2009 project, Stanislaus Madueke for his django-dynamic-formset app and all the other people helping out. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12297 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-12Fixed #12512. Changed ModelForm to stop performing model validation on ↵Joseph Kocherhans
fields that are not part of the form. Thanks, Honza Kral and Ivan Sagalaev. This reverts some admin and test changes from [12098] and also fixes #12507, #12520, #12552 and #12553. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12206 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-10Fixed #9223 -- Added support for declarative widgets to ModelForm. I declare ↵Adrian Holovaty
thanks to isagalaev. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12194 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-10Fixed #10989 -- Fixed typos in formset and widget-media docs. Thanks, ↵Adrian Holovaty
falken@mixworx.net and ramiro git-svn-id: http://code.djangoproject.com/svn/django/trunk@12168 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-04Fixed #12053 - form examples don't validate according to w3cLuke Plant
Thanks to skyl for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12086 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-17Fixed #399: Added big integer field. Thanks to Tomáš Kopeček for ↵Karen Tracey
persistently maintaining a patch for this. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11887 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-13Fixed #11755 -- Added documentation for an edge case of FormSet usage. ↵Russell Keith-Magee
Thanks to ffualo for the suggestion. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-13Fixed #11740 -- Added extra detail on the behavior of ModelForms. Thanks to ↵Russell Keith-Magee
severian for the suggestion. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-15Fixed #10287 -- Added better examples in the docs of formset validation. ↵Russell Keith-Magee
Thanks to Andrew Badr for the text. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11234 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-24Fixed #8861 -- Added note on the availability of ModelForm.instance. Thanks ↵Russell Keith-Magee
to Ramiro Morales for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11097 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18Fixed #11318 -- Grammar correction in modelform docs. Thanks to seemant for ↵Russell Keith-Magee
the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11047 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-10Fixed #10845 -- Clarified the examples for using ModelForms with fields or ↵Russell Keith-Magee
exclude specified. Thanks to Andrew Durdin for the suggestion. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10972 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-24Fixed #8857 -- Corrected ref in modelforms documentation and added ref to ↵Brian Rosner
file upload documentation in form documentation. Thanks Kyle Fox and prairiedogg. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10837 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-18Fixed #11138 -- Corrected the description of behavior related to the max_num ↵Karen Tracey
parameter for model formsets. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10819 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17Fixed #10817 -- Corrected some grammar in the forms doc. Thanks ↵Karen Tracey
nickretallack@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17Fixed #11128 -- Misc. fixes and improvements to the model forms doc. Thanks ↵Karen Tracey
Ramiro and Alex. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10795 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-14Fixed #10795: added a link to model formsets docs from the formsets docs.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10774 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-07Fixed #9493 -- Corrected error handling of formsets that violate unique ↵Russell Keith-Magee
constraints across the component forms. Thanks to Alex Gaynor for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10682 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
2009-03-31Fixed #10389, #10501, #10502, #10540, #10562, #10563, #10564, #10565, ↵Gary Wilson Jr
#10568, #10569, #10614, #10617, #10619 -- Fixed several typos as well as a couple minor issues in the docs, patches from timo, nih, bthomas, rduffield, UloPe, and sebleier@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10242 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30Fixed #9284. Fixed #8813. BaseModelFormSet now calls ModelForm.save().Joseph Kocherhans
This is backwards-incompatible if you were doing things to 'initial' in BaseModelFormSet.__init__, or if you relied on the internal _total_form_count or _initial_form_count attributes of BaseFormSet. Those attributes are now public methods. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10190 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24Fixed #10437 -- Corrected typo in Widget media example. Thanks to Manuel ↵Russell Keith-Magee
Saelices. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10149 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24Added versionadded markers for ModelForm field ordering, added in [10062].Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-15Fixed #10507 -- Corrected formatting problem in ModelForm docs. Thanks to ↵Russell Keith-Magee
Paul Menzel for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10064 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-15Fixed #8164 -- Fields on a ModelForm are now ordered in the order specified ↵Russell Keith-Magee
in the fields attribute of the ModelForm's Meta class. Thanks to Alex Gaynor for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10062 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22Fixed #10009 -- Corrected a field reference in an example on rendering ↵Russell Keith-Magee
hidden fields. Thanks to karihre@gmail.com for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9862 bcc190cf-cafb-0310-a4f2-bffc1f526a37