| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2013-09-19 | Fixed #9532 -- Added min_num and validate_min on formsets. | yokomizor | |
| Thanks gsf for the suggestion. | |||
| 2013-09-16 | Fixed #17627 -- Renamed util.py files to utils.py | Tim Graham | |
| Thanks PaulM for the suggestion and Luke Granger-Brown and Wiktor Kołodziej for the initial patch. | |||
| 2013-08-28 | Minor spelling correction in ModelForms docs | Phaneendra Chiruvella | |
| 2013-08-06 | Fixed #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-23 | Fixed #10284 -- ModelFormSet.save(commit=False) no longer deletes objects | Tim Graham | |
| Thanks laureline.guerin@ and Wedg. | |||
| 2013-07-19 | Fixed #20772 -- Fixed minor typo in form media docs. | Loic Bistuer | |
| 2013-07-16 | Reworked docs for ModelForm validation. | Loic Bistuer | |
| 2013-07-08 | Fixed #19695 -- Retitle "Form Media" to "Form Assets". | James Bennett | |
| 2013-07-08 | Fixed #16965 -- Clarified Formset can_delete docs. | Tim Graham | |
| Thanks gregcorey@ for the suggestion. | |||
| 2013-07-08 | Fixed #12346 -- Added a note on how to validate InlineFormSets. | Tim Graham | |
| Thanks johnsmith for the suggestion. | |||
| 2013-07-05 | Fixed #20224 -- Update docs examples which mention __unicode__ | Claude Paroz | |
| Thanks Marc Tamlyn and Tim Graham for the review. | |||
| 2013-07-02 | Fix "semicolon" in docs | Ben Firshman | |
| 2013-06-16 | Fixed #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-13 | Fixed #20000 -- Allowed ModelForm meta overrides for label, help_text and ↵ | Loic Bistuer | |
| error_messages | |||
| 2013-06-11 | FormSet.forms is an iterable, so just iterate over it | Wilfred Hughes | |
| 2013-06-10 | Fixed #20578 - Typo in BaseFormSet module name | Tim Graham | |
| 2013-06-10 | Fixed #18134 -- BoundField.label_tag now includes the form's label_suffix | Gabe 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-09 | Update media.txt | Kenny Rachuonyo | |
| Fixed typo: froms -> forms | |||
| 2013-05-28 | Fixed #20523 - Incorrect form field for FilePathField. | Tim Graham | |
| Thanks sane4ka.sh@ for the report. | |||
| 2013-05-20 | Fixed #20471 - Typos in topics/forms/formsets.txt | Tim Graham | |
| 2013-05-20 | Fixed #20403 -- Ignore forms marked for deletion when validating max_num. | Ryan Kaskel | |
| 2013-05-19 | add missing imports to the examples in the 'Forms' | leandrafinger | |
| 2013-05-18 | Fixed #13546 -- Easier handling of localize field options in ModelForm | Erik Romijn | |
| 2013-05-09 | Fixed #19733 - deprecated ModelForms without 'fields' or 'exclude', and ↵ | Luke Plant | |
| added '__all__' shortcut This also updates all dependent functionality, including modelform_factory and modelformset_factory, and the generic views `ModelFormMixin`, `CreateView` and `UpdateView` which gain a new `fields` attribute. | |||
| 2013-04-29 | Corrected "it's" to "its" when used possessively. | Thomas Thurman | |
| Fixed #20327. | |||
| 2013-04-20 | Adapted uses of versionchanged/versionadded to the new form. | Juan Catalano | |
| Refs #20104. | |||
| 2013-04-15 | Fixed #20263 -- Corrected wording in the formset documentation. | Simon Charette | |
| Thanks to feraudyh at yahoo.com for the report. | |||
| 2013-03-31 | Fixed #8649 - Documented a caveat about dynamically adjusting formsets. | Tim Graham | |
| 2013-03-21 | Fixed #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-23 | Fixed #19686 -- Added HTML5 number input type | Claude Paroz | |
| Thanks Simon Charette for his help on the patch. Refs #16630. | |||
| 2013-02-19 | Added 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-16 | Removed a misleading examples from documentations ala ticket #19719 | Alex Hunley | |
| 2013-02-12 | Fixed #19808 Capitalization error in example text | JonLoy | |
| 2013-02-02 | Fixed #19700 - Added documentation for BoundField.field. | Tim Graham | |
| Thanks Tiberiu Ana for the report and patch. | |||
| 2013-01-28 | Added HTML5 email input type | Claude Paroz | |
| Refs #16630. | |||
| 2013-01-24 | Fixed #17416 -- Added widgets argument to inlineformset_factory and ↵ | Nick Sandford | |
| modelformset_factory | |||
| 2013-01-23 | Fixed #19610 - Added enctype note to forms topics doc. | Tim Graham | |
| Thanks will@ for the suggestion. | |||
| 2013-01-22 | Fixed #19640 - Added inlineformset_factory to reference docs. | Tim Graham | |
| Thanks wim@ for the suggestion. | |||
| 2013-01-11 | Fixed #10239 - Added docs for modelform_factory | Tim Graham | |
| Thanks ingenieroariel for the suggestion and slurms for the review. | |||
| 2013-01-02 | Fixed #19516 - Fixed remaining broken links. | Tim Graham | |
| Added -n to sphinx builds to catch issues going forward. | |||
| 2012-12-29 | Removed versionadded/changed annotations dating back to 1.4. | Aymeric Augustin | |
| 2012-12-29 | Fixed broken links, round 4. refs #19516 | Tim Graham | |
| 2012-12-08 | Removed US localflavor-specific tests from core | Claude Paroz | |
| Also fixes #9045. | |||
| 2012-11-05 | Fixed #15591 - Clarified interaction between ModelForm and model validation. | Tim Graham | |
| 2012-10-16 | Fixed #18548 - Clarified note regarding reusing model instances when form ↵ | Tim Graham | |
| validation fails. | |||
| 2012-09-20 | Fixed #18934 - Removed versionadded/changed annotations for Django 1.3 | Tim Graham | |
| 2012-09-15 | Fixed #11185 - Expanded docs on customizing widgets; thanks fadeev for the ↵ | Tim Graham | |
| draft patch. | |||
| 2012-09-08 | fixing modelforms example code, ticket #18832 | Nick Martini | |
| 2012-08-24 | Fixed #18847 - Updated for media examples to use static.example.com. Thanks ↵ | Tim Graham | |
| Jamie Curle. | |||
| 2012-08-21 | Fixed #14885 - Clarified that ModelForm cleaning may not fully complete if ↵ | Tim Graham | |
| the form is invalid. Thanks Ben Sturmfels for the patch. | |||
