summaryrefslogtreecommitdiff
path: root/docs/topics/forms
AgeCommit message (Collapse)Author
2015-05-22[1.7.x] Fixed mistakes in docs/topics/forms/formsets.txt examples.I am Clinton
Backport of 9c8a2ab81db1fa999862034d9e8e9e1d091a72e5 from master
2015-05-12[1.7.x] Light edits to docs/topics/forms/index.txtI am Clinton
Backport of ec74dba2ab3f04fb828c0b926b49f63ec8486dd8 from master
2015-04-22[1.7.x] Fixed #24684 -- Typo in docs/topics/forms/modelforms.txtTim Graham
Backport of 1418f7530455abf3e6f743164ae15ee6b2566a3c from master
2015-04-20[1.7.x] Fixed #24674 -- Documented the correct NullBooleanField formfield.Simon Charette
Thanks to knbk for the report. Backport of 37e23c606031d5b34197e196fb6e6fed0137bb37 from master
2015-03-28[1.7.x] Fixed #24541 -- Clarified ModelFormSet's handling of initial data.Tim Graham
Backport of 6de3a1e2c34ae5bfcdec3ebbf3d682aa578ecae0 from master
2015-03-28[1.7.x] Fixed typo in docs/topics/forms/modelforms.txtSaeX
Backport of 19e41a9799079ddae3ba94f95d25577ab4232037 from master
2015-03-11[1.7.x] Fixed typo in docs/topics/forms/modelforms.txt.Dan Fellin
Backport of 6ff826e12ea99c0eb871716cfedc2c8e199695f3 from master
2015-03-09[1.7.x] Fixed #24456 -- Added links to topics/forms/modelforms.txt.Psilo Cybin
Backport of 866e71140f9612e45087b8acafefa2e51ffc4a29 from master
2015-03-02[1.7.x] Fixed #13015 -- Clarified language about model instances attached to ↵Tim Graham
forms. Backport of a40a34a4b2d79dbf798df538c26222148d42b17c from master
2015-01-06[1.7.x] Fixed #24083 -- Corrected is_bound nature in forms topic docsClaude Paroz
Thanks ajenhl Trac user for the report. Backport of e0080cf57 from master.
2014-12-17[1.7.x] Fixed display of lists after website redesignMarkus Holtermann
Thanks Brian Jacobel for the report. refs django/djangoproject.com#197 Backport of c7786550c4ed396b8580db58f7da60e850894d19 from master
2014-12-05[1.7.x] Fixed #23955 -- Corrected formset fields in topic guide.Young Yang
Backport of f0c7a6f36005d489e049236922abe0bd3a3eac2c from master
2014-11-27[1.7.x] Fixed typo in docs/topics/forms/modelforms.txt.wrwrwr
Backport of a15aba66f2fc650f70a791fb7fa880cf85cb1229 from master
2014-11-16[1.7.x] Fixed #23690 - fixed examples of manual rendering of form fieldsnmundar
Documentation for rendering form fields manually is now updated to use fields id_for_label instead of hardcoded values with additional mention of label_tag for alternative generation of complete label tag. Backport of 48515ee1f7bec437544a0a958332483298f4028b from master
2014-09-25[1.7.x] Replaced input by textarea in forms docsClaude Paroz
Backport of 5066fda34d from master.
2014-09-10[1.7.x] Fixed typo in topics/forms/formsets.txtTim Graham
Backport of e265112cd1 from master
2014-09-08[1.7.x] Fixed #23307 -- Clarified the way max_num limits the output of formsets.Octowl
Thanks velle for the report. Backport of 5f3806b861 from master
2014-08-27[1.7.x] Fixed #23075 -- Added documentation on novalidate attribute and made ↵Erik Romijn
it default for admin Backport of cbdda28208c9c2aea479d5a482ff27bf37869d34 from master.
2014-06-26[1.7.x] Fixed and enhanced new HTML form docs.Matt Deacalion Stevens
Backport of ec85df2fa5 from master
2014-06-25[1.7.x] Fixed typo in revamped forms intro doc.Ramiro Morales
Backport of 77c0a904cb 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-06-04[1.7.x] Fixed #22747 -- Add backwards compatibility tip for new behavior of ↵Tim Graham
formset.save(commit=False). Thanks django at patjack.co.uk. Backport of 2f7a7842ba 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-05-21[1.7.x] Fixed #22639 -- Added missing imports in docsNiclas Åhdén
Added ModelForm and NON_FIELD_ERRORS imports. Backport of 64ee097b3b from master
2014-05-16[1.7.x] Fixed #22622 -- Added ugettext_lazy import in docsNiclas Åhdén
Backport of 7271f5db78 from master
2014-04-22[1.7.x] Various documentation typo/spelling fixesMarti Raudsepp
Errors detected by Topy (https://github.com/intgr/topy), all changes verified by hand. Backport of 11d453bcad from master
2014-03-30[1.7.x] Corrected an import in a model form docs example.Ramiro Morales
cb5dd99bb4 from master.
2014-02-28Fixed spelling mistakes in docs.Tim Graham
2014-02-28Fixed doc typos.Tim Graham
2014-02-25Fixed docs typos.Szczepan Cieślik
2014-02-13Fixed #21951 -- Updated docs to use __str__ for Python 3Alasdair Nicol
Thanks Tim Graham for the report and recommendations
2014-02-08Fixed #16192 -- Made unique error messages in ModelForm customizable.Loic Bistuer
Overriding the error messages now works for both unique fields, unique_together and unique_for_date. This patch changed the overriding logic to allow customizing NON_FIELD_ERRORS since previously only fields' errors were customizable. Refs #20199. Thanks leahculver for the suggestion.
2014-01-23Fixed #21847 -- Clarified where ContactForm was definedTom Atkins
2014-01-22Don't show `self` in the list of arguments of a method.Baptiste Mispelon
This is consistent with Python's official documentation and it's a sphinx recommendation too[1]. [1] http://sphinx-doc.org/markup/desc.html#dir-method Refs #21855.
2013-12-14Fixed #21539 -- Added example of modelformset_factory's form argumentAlasdair Nicol
2013-12-09Fixed #21560 -- missing 'slug' field in example codeChristian Schmitt
I updated the documentation, that the modelform now includes the 'slug' field.
2013-11-22Improved docs for ModelFormSet.clean().Loic Bistuer
2013-10-15Improvement on InlineFormSet doc, refs #21006Tianyi Wang
2013-10-15Fixed #21006 -- Added example code for overriding methods on an InlineFormSet.Tianyi Wang
Thanks treysta at gmail.com for the suggestion.
2013-10-15Merge pull request #1382 from loic/ticket19617Marc Tamlyn
Fixed #19617 -- Refactored form metaclasses to support more inheritance scenarios.
2013-10-14Fixed #21223 -- Added form.id_for_label to topic guide.Sorcha Bowler
Thanks ebertti at yahoo.com.br for the suggestion.
2013-10-14Fixed #8620 -- Updated the Form metaclass to support excluding fields by ↵Loic Bistuer
shadowing them.
2013-10-14Fixed #19617 -- Refactored Form metaclasses to support more inheritance ↵Loic Bistuer
scenarios. Thanks apollo13, funkybob and mjtamlyn for the reviews.
2013-10-14Clarfied the ModelForm docs with respect to generated vs. declared fields.Loic Bistuer
The ModelForm docs suggested that fields defined declaratively override default fields generated from the form Meta. This is conceptually wrong, especially with inheritance in mind. Meta is usually defined on the topmost ModelForm subclass, while fields can come from anywhere in the MRO, especially base classes; therefore we suggested that something defined in a base class override something from a subclass. This patch rephrases the docs around the idea that Meta is used to generate *missing* fields. Refs #8620, #19617. Thanks @mjtamlyn and @timgraham for the review.
2013-09-19Fixed #9532 -- Added min_num and validate_min on formsets.yokomizor
Thanks gsf 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-08-28Minor spelling correction in ModelForms docsPhaneendra Chiruvella
2013-08-06Fixed #20852 - Fixed incorrectly generated left quotes in docs.Dominic Rodger
Sphinx generates left single quotes for apostrophes after code markup, when right single quotes are required. The easiest way to fix this is just by inserting the unicode character for a right single quote. Instances of the problem were found by looking for ">‘" in the generated HTML.
2013-07-23Fixed #10284 -- ModelFormSet.save(commit=False) no longer deletes objectsTim Graham
Thanks laureline.guerin@ and Wedg.
2013-07-19Fixed #20772 -- Fixed minor typo in form media docs.Loic Bistuer