Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/docs/topics/forms/formsets.txt
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #21516 -- Updated imports paths for some formset ↵Bryan Marty2015-10-281-18/+18
| | | | | | | functions/classes. Since refs #21489, FormSet classes and factories are exposed on the django.forms package.
* Added release notes for feature added in fe21fb81Russell Keith-Magee2015-06-051-0/+2
|
* Fixed #18166 -- Added form_kwargs support to formsets.Sergei Maertens2015-06-041-0/+39
| | | | | | | | 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.
* Fixed mistakes in docs/topics/forms/formsets.txt examples.I am Clinton2015-05-221-2/+2
|
* Removed versionadded/changed notes for 1.7.Tim Graham2015-02-021-30/+9
|
* Fixed #23955 -- Corrected formset fields in topic guide.Young Yang2014-12-051-1/+1
|
* Fixed typo in topics/forms/formsets.txtTim Graham2014-09-101-1/+1
|
* Fixed #23307 -- Clarified the way max_num limits the ↵Octowl2014-09-081-8/+13
| | | | | | output of formsets. Thanks velle for the report.
* Removed unnecessary code-block directives.areski2014-08-191-6/+2
|
* Fixed #22796 -- Added a more basic explanations of forms.Daniele Procida2014-06-241-1/+1
| | | | Thanks bmispelon, kezabelle, jorgecarleitao, and timgraham for reviews.
* Fixed #22747 -- Add backwards compatibility tip for new ↵Tim Graham2014-06-041-0/+12
| | | | | | behavior of formset.save(commit=False). Thanks django at patjack.co.uk.
* Removed versionadded/changed annotations for 1.6.Tim Graham2014-03-241-14/+0
|
* Fixed #22313 -- Removed 'u' prefixes from documentationClaude Paroz2014-03-221-83/+83
|
* Fixed spelling mistakes in docs.Tim Graham2014-03-011-2/+2
|
* Don't show `self` in the list of arguments of a method.Baptiste Mispelon2014-01-221-1/+1
| | | | | | | | | 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.
* Fixed #9532 -- Added min_num and validate_min on formsets.yokomizor2013-09-191-3/+44
| | | | Thanks gsf for the suggestion.
* Fixed #17627 -- Renamed util.py files to utils.pyTim Graham2013-09-161-1/+1
| | | | | Thanks PaulM for the suggestion and Luke Granger-Brown and Wiktor Kołodziej for the initial patch.
* Fixed #10284 -- ModelFormSet.save(commit=False) no ↵Tim Graham2013-07-231-8/+26
| | | | | | longer deletes objects Thanks laureline.guerin@ and Wedg.
* Fixed #16965 -- Clarified Formset can_delete docs.Tim Graham2013-07-081-3/+10
| | | | Thanks gregcorey@ for the suggestion.
* Fixed #20464 -- Added a `total_error_count` method on ↵Baptiste Mispelon2013-06-161-0/+17
| | | | | | formsets. Thanks to frog32 for the report and to Tim Graham for the review.
* FormSet.forms is an iterable, so just iterate over itWilfred Hughes2013-06-111-2/+1
|
* Fixed #20578 - Typo in BaseFormSet module nameTim Graham2013-06-101-1/+1
|
* Fixed #20471 - Typos in topics/forms/formsets.txtTim Graham2013-05-201-3/+3
|
* Fixed #20403 -- Ignore forms marked for deletion when ↵Ryan Kaskel2013-05-201-1/+2
| | | | validating max_num.
* add missing imports to the examples in the 'Forms'leandrafinger2013-05-191-0/+26
|
* Adapted uses of versionchanged/versionadded to the new form.Juan Catalano2013-04-201-0/+2
| | | | Refs #20104.
* Fixed #20263 -- Corrected wording in the formset ↵Simon Charette2013-04-151-1/+1
| | | | | | documentation. Thanks to feraudyh at yahoo.com for the report.
* Fixed #8649 - Documented a caveat about dynamically ↵Tim Graham2013-03-311-1/+4
| | | | adjusting formsets.
* Fixed #20084 -- Provided option to validate formset ↵Andrew Gorcester2013-03-211-9/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | max_num on server. 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.
* Fixed #19686 -- Added HTML5 number input typeClaude Paroz2013-02-231-3/+3
| | | | Thanks Simon Charette for his help on the patch. Refs #16630.
* Added a default limit to the maximum number of forms in ↵Aymeric Augustin2013-02-191-2/+2
| | | | | | a formset. This is a security fix. Disclosure and advisory coming shortly.
* Fixed #19808 Capitalization error in example textJonLoy2013-02-121-1/+1
|
* Fixed #19516 - Fixed remaining broken links.Tim Graham2013-01-031-0/+2
| | | | Added -n to sphinx builds to catch issues going forward.
* Removed versionadded/changed annotations dating back to 1.4.Aymeric Augustin2012-12-291-2/+0
|
* Fixed broken links, round 4. refs #19516Tim Graham2012-12-291-1/+1
|
* Fixed #18934 - Removed versionadded/changed annotations ↵Tim Graham2012-09-211-13/+3
| | | | for Django 1.3
* Removed references to changes made in 1.2.Aymeric Augustin2012-06-071-6/+1
| | | | Thanks Florian Apolloner for the patch.
* Fixed #18244 -- Documented that formset.has_changed is a ↵Claude Paroz2012-05-221-0/+2
| | | | 1.4 addition.
* Replaced print statement by print function (forward ↵Claude Paroz2012-04-301-8/+8
| | | | compatibility syntax).
* Added support for specifying initial values to model ↵Ramiro Morales2012-01-151-0/+2
| | | | | | | | | | | | formsets and inline formsets. This make them consistent with the similar capability of regular formsets. Thanks to simon29 form the report and to Claude Paroz for the patch. Fixes #14574. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17373 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #16985 -- corrected a few grammar errors in the docs.Alex Gaynor2011-10-051-3/+3
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@16925 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #11404. Added ``FormSet.has_changed``, for ↵Alex Gaynor2011-09-101-0/+14
| | | | | | consistancy with ``Form.has_changed``. Thanks to michelts for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16773 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Make ``Formset.__getitem__`` O(1), rather than O(n). If ↵Alex Gaynor2011-09-101-0/+4
| | | | | | you override ``__iter__`` you now need to also override ``__getitem__`` for consistant behavior. Thanks to Carl and Russ for the review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16770 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #16467 -- Restored a previously correct example ↵Gabriel Hurley2011-08-181-4/+4
| | | | | | which was broken in [16564]. Thanks to dmclain for pointing out that the original example was correct. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16623 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #16467 -- Corrected formset code example. Thanks, ↵Jannis Leidel2011-07-291-4/+4
| | | | | | teraom. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed typos introduced in r16430 and r16431. Thanks, ↵Jannis Leidel2011-06-181-1/+1
| | | | | | magopian. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16433 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #16126 -- Added documentation about DELETE and ↵Jannis Leidel2011-06-171-0/+27
| | | | | | ORDER fields in formsets. Many thanks to Aleksandra Sendecka. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16430 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Changed 'raise' statements to new style syntax in ↵Ramiro Morales2011-03-171-1/+1
| | | | | | documentation. Thanks DaNmarner. Refs #15635. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15874 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #14000 - remove versionadded/changed tags for ↵Timo Graham2010-12-261-2/+0
| | | | | | Django 1.0 and 1.1 git-svn-id: http://code.djangoproject.com/svn/django/trunk@15055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Corrected a markup error introduced in r14986.Russell Keith-Magee2010-12-191-1/+1
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@14988 bcc190cf-cafb-0310-a4f2-bffc1f526a37