summaryrefslogtreecommitdiff
path: root/docs/topics/forms/formsets.txt
AgeCommit message (Collapse)Author
2019-01-14Fixed "lets" mistakes in docs.David Beitey
2018-05-02Fixed #29375 -- Removed empty action attribute on HTML forms.CHI Cheng
2018-01-21Fixed #29038 -- Removed closing slash from HTML void tags.Jon Dufresne
2018-01-13Fixed #28761 -- Documented how an inline formset's prefix works.jaywelborn
2017-02-01Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments.Vytis Banaitis
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super() in docs.chillaranand
2016-10-10Doc'd the need to provide initial for formset submissions.Tim Graham
2016-09-26Fixed #27278 -- Fixed an anchor in docs/topics/forms/formsets.txt.Tim Graham
2016-09-26Fixed #27270 -- Clarified a paragraph in docs/topics/forms/formsets.txt.Tim Graham
Thanks Kifsif for the suggestion.
2016-05-20Removed versionadded/changed annotations for 1.9.Tim Graham
2016-04-21Fixed #22383 -- Added support for HTML5 required attribute on required form ↵Jon Dufresne
fields.
2016-02-01Fixed #26124 -- Added missing code formatting to docs headers.rowanv
2016-01-22Fixed #26020 -- Normalized header stylings in docs.Elif T. Kus
2015-12-23Fixed #25969 -- Replaced render_to_response() with render() in docs examples.Tim Graham
2015-10-28Fixed #21516 -- Updated imports paths for some formset functions/classes.Bryan Marty
Since refs #21489, FormSet classes and factories are exposed on the django.forms package.
2015-06-05Added release notes for feature added in fe21fb81Russell Keith-Magee
2015-06-04Fixed #18166 -- Added form_kwargs support to formsets.Sergei Maertens
By specifying form_kwargs when instantiating the formset, or overriding the `get_form_kwargs` method on a formset class, you can pass extra keyword arguments to the underlying `Form` instances. Includes tests and documentation update.
2015-05-22Fixed mistakes in docs/topics/forms/formsets.txt examples.I am Clinton
2015-02-01Removed versionadded/changed notes for 1.7.Tim Graham
2014-12-05Fixed #23955 -- Corrected formset fields in topic guide.Young Yang
2014-09-10Fixed typo in topics/forms/formsets.txtTim Graham
2014-09-08Fixed #23307 -- Clarified the way max_num limits the output of formsets.Octowl
Thanks velle for the report.
2014-08-19Removed unnecessary code-block directives.areski
2014-06-24Fixed #22796 -- Added a more basic explanations of forms.Daniele Procida
Thanks bmispelon, kezabelle, jorgecarleitao, and timgraham for reviews.
2014-06-04Fixed #22747 -- Add backwards compatibility tip for new behavior of ↵Tim Graham
formset.save(commit=False). Thanks django at patjack.co.uk.
2014-03-24Removed versionadded/changed annotations for 1.6.Tim Graham
2014-03-22Fixed #22313 -- Removed 'u' prefixes from documentationClaude Paroz
2014-02-28Fixed spelling mistakes in docs.Tim Graham
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-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-07-23Fixed #10284 -- ModelFormSet.save(commit=False) no longer deletes objectsTim Graham
Thanks laureline.guerin@ and Wedg.
2013-07-08Fixed #16965 -- Clarified Formset can_delete docs.Tim Graham
Thanks gregcorey@ for the suggestion.
2013-06-16Fixed #20464 -- Added a `total_error_count` method on formsets.Baptiste Mispelon
Thanks to frog32 for the report and to Tim Graham for the review.
2013-06-11FormSet.forms is an iterable, so just iterate over itWilfred Hughes
2013-06-10Fixed #20578 - Typo in BaseFormSet module nameTim Graham
2013-05-20Fixed #20471 - Typos in topics/forms/formsets.txtTim Graham
2013-05-20Fixed #20403 -- Ignore forms marked for deletion when validating max_num.Ryan Kaskel
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-04-15Fixed #20263 -- Corrected wording in the formset documentation.Simon Charette
Thanks to feraudyh at yahoo.com for the report.
2013-03-31Fixed #8649 - Documented a caveat about dynamically adjusting formsets.Tim Graham
2013-03-21Fixed #20084 -- Provided option to validate formset max_num on server.Andrew Gorcester
This is provided as a new "validate_max" formset_factory option defaulting to False, since the non-validating behavior of max_num is longstanding, and there is certainly code relying on it. (In fact, even the Django admin relies on it for the case where there are more existing inlines than the given max_num). It may be that at some point we want to deprecate validate_max=False and eventually remove the option, but this commit takes no steps in that direction. This also fixes the DoS-prevention absolute_max enforcement so that it causes a form validation error rather than an IndexError, and ensures that absolute_max is always 1000 more than max_num, to prevent surprising changes in behavior with max_num close to absolute_max. Lastly, this commit fixes the previous inconsistency between a regular formset and a model formset in the precedence of max_num and initial data. Previously in a regular formset, if the provided initial data was longer than max_num, it was truncated; in a model formset, all initial forms would be displayed regardless of max_num. Now regular formsets are the same as model formsets; all initial forms are displayed, even if more than max_num. (But if validate_max is True, submitting these forms will result in a "too many forms" validation error!) This combination of behaviors was chosen to keep the max_num validation simple and consistent, and avoid silent data loss due to truncation of initial data. Thanks to Preston for discussion of the design choices.
2013-02-23Fixed #19686 -- Added HTML5 number input typeClaude Paroz
Thanks Simon Charette for his help on the patch. Refs #16630.
2013-02-19Added a default limit to the maximum number of forms in a formset.Aymeric Augustin
This is a security fix. Disclosure and advisory coming shortly.
2013-02-12Fixed #19808 Capitalization error in example textJonLoy
2013-01-02Fixed #19516 - Fixed remaining broken links.Tim Graham
Added -n to sphinx builds to catch issues going forward.
2012-12-29Removed versionadded/changed annotations dating back to 1.4.Aymeric Augustin
2012-12-29Fixed broken links, round 4. refs #19516Tim Graham
2012-09-20Fixed #18934 - Removed versionadded/changed annotations for Django 1.3Tim Graham