| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2013-04-13 | Fixed #4117: Apply id attribute to the outer <ul> of RadioSelect | Baptiste Mispelon | |
| 2013-04-13 | Fixed #19874: Apply id attribute to the outer <ul> of CheckboxSelectMultiple | Baptiste Mispelon | |
| 2013-04-12 | Fixed #20211: Document backwards-incompatible change in BoundField.label_tag | Baptiste Mispelon | |
| Also cleaned up label escaping and consolidated the test suite regarding label_tag. | |||
| 2013-04-07 | Fix #15126: Better error message when passing invalid options to ModelForm.Meta. | Baptiste Mispelon | |
| 2013-03-28 | Fixed spelling errors | Gavin Wahl | |
| 2013-03-25 | Removed forced typecasting of help_text/label Field arguments | Claude Paroz | |
| In any case, setting those variables to non-ascii utf-8 bytestrings is now considered a programming error. | |||
| 2013-03-24 | Fixed #19385 again, now with real code changes | Anssi Kääriäinen | |
| The commit of 266de5f9ae9e9f2fbfaec3b7e4b5fb9941967801 included only tests, this time also code changes included... | |||
| 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-03-20 | Fixed #18839 - Field.__init__() now calls super(). | Carny Cheng | |
| 2013-03-19 | Fixed #18003 -- Preserved tracebacks when re-raising errors. | konarkmodi | |
| Thanks jrothenbuhler for draft patch, Konark Modi for updates. | |||
| 2013-03-14 | Fixed #17051 -- Removed some 'invalid' field error messages | Claude Paroz | |
| When the 'invalid' error message is set at field level, it masks the error message raised by the validator, if any. | |||
| 2013-03-14 | Fixed #20039 -- Fixed has_changed form detection for required TypedChoiceFields | Claude Paroz | |
| Thanks Florian Apolloner for the report and the review. Also fixes #19643. | |||
| 2013-03-08 | Fixed a regression in forms changed_data | Claude Paroz | |
| Thanks Loic Bistuer for spotting the regression and the initial patch. Refs #16612. | |||
| 2013-03-08 | Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that ↵ | Loic Bistuer | |
| return a QuerySet. | |||
| 2013-03-07 | Fixed #19997 -- Added custom EMPTY_VALUES to form fields | Claude Paroz | |
| Thanks Loic Bistuer for the report and the patch. | |||
| 2013-03-04 | Fixed #19464 -- Eased customization of ClearableFileInput's link markup | Claude Paroz | |
| Thanks rubyruy for the report and the patch. | |||
| 2013-03-01 | Fixed #18898 -- Added tests with a fix for ModelMultipleChoiceField | Claude Paroz | |
| 2013-03-01 | Fixed #16612 -- Improved has_changed detection for localized field values | Claude Paroz | |
| Thanks Simon Charette for the review. | |||
| 2013-02-24 | Fixed #19908 -- Added missing import in forms.py | Claude Paroz | |
| Thanks loic84 for the report. | |||
| 2013-02-23 | Fixed #18829 -- Fixed ModelChoiceIterator length | Klaas van Schelven | |
| Thanks facundo.olano at gmail.com for the report and thikonom for the initial patch. | |||
| 2013-02-23 | Fixed errors introduced in 21f333bcefccc151d6439246f8203d609ab6ca79. Refs #17751 | Florian Apolloner | |
| 2013-02-23 | Fixed #15877 -- Improved exception when ModelForm has no model class | Claude Paroz | |
| Thanks theaspect at gmail.com for the report and volrath for the patch. | |||
| 2013-02-23 | Fix #17751: Added stripping of whitespace for ↵ | Erik Romijn | |
| IPAddressField/GenericIPAddressField | |||
| 2013-02-23 | Method "save" in BaseModelFormSet is marked as alters_data | Klaas van Schelven | |
| Fixes #17663 | |||
| 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-08 | Fixed #18906 -- Ignored to-be-deleted forms in formset validate_unique | Claude Paroz | |
| Thanks c.pollock at bangor.ac.uk for the report. | |||
| 2013-02-05 | Fixed #17683 -- Make sure `BaseModelFormSet` respects defined widgets. | Simon Charette | |
| 2013-01-30 | Merge pull request #686 from skrr/ticket_19703 | Claude Paroz | |
| Fixed #19703 -- Typo in get_declared_fields docstring | |||
| 2013-01-30 | Fixed #19034 -- Added proper i18n pluralization for max/min length ↵ | Claude Paroz | |
| validation messages This was made possible by commit 3f1a0c0040b9. Thanks Evil Clay for the report and Alexey Boriskin his work on the ticket. | |||
| 2013-01-30 | fixed minor typo #19703 | Simon Kerr | |
| 2013-01-28 | Added HTML5 url input type | Claude Paroz | |
| Refs #16630. | |||
| 2013-01-28 | Added HTML5 email input type | Claude Paroz | |
| Refs #16630. | |||
| 2013-01-26 | Fixed #16123 -- Ensured strptime receive proper string type | Claude Paroz | |
| strptime generates an UnicodeEncodeError when using a non-ascii unicode string on Python 2. | |||
| 2013-01-26 | Fixed #18483 -- Marked hidden field error string for translation | Claude Paroz | |
| Thanks Evil Clay for the report and Emil Stenstrom for the initial patch. | |||
| 2013-01-26 | Moved BooleanField 'required' validation in validate() | Claude Paroz | |
| 2013-01-25 | Used property decorators in django/forms.py | Claude Paroz | |
| 2013-01-25 | Moved has_changed logic from widget to form field | Claude Paroz | |
| Refs #16612. Thanks Aymeric Augustin for the suggestion. | |||
| 2013-01-24 | Fixed #17416 -- Added widgets argument to inlineformset_factory and ↵ | Nick Sandford | |
| modelformset_factory | |||
| 2013-01-18 | Avoided unnecessary recreation of RelatedObjects | Anssi Kääriäinen | |
| Refs #19399. Thanks to Track alias KJ for the patch. | |||
| 2013-01-15 | Removed obsolete comment. | Aymeric Augustin | |
| These features are implemented, tracked in tickets, or not necessary. Thanks Bruno Renié. | |||
| 2013-01-11 | Fixed #10239 - Added docs for modelform_factory | Tim Graham | |
| Thanks ingenieroariel for the suggestion and slurms for the review. | |||
| 2013-01-09 | Fixed #19581 -- ensure unique html ids with CheckboxSelectMultiple widgets | Loic Raucy | |
| ID check is now done the same way as MultipleHiddenInput. | |||
| 2013-01-03 | Fixed #19545 -- Make sure media/is_multipart work with empty formsets | Simon Charette | |
| 2013-01-01 | Removed unusable parameters to empty_form property | Claude Paroz | |
| 2012-12-31 | Fixed #19537 -- Made CheckboxInput._has_changed handle 'False' string | Claude Paroz | |
| Thanks dibrovsd@gmail.com for the report. | |||
| 2012-12-28 | Fix #19524 -- Incorrect caching of parents of unsaved model instances. | Aymeric Augustin | |
| Thanks qcwxezdas for the report. Refs #13839. | |||
| 2012-12-24 | Sort HTML attributes on generated forms | Ian Clelland | |
| 2012-12-19 | Fixed #18172 -- Made models with __iter__ usable in ModelMultipleChoiceField | Patryk Zawadzki | |
| Thanks to Patryk Zawadzki for the patch. | |||
| 2012-12-06 | Fixed #18574 -- Make BaseFormSet.is_valid call its underlying forms' is_valid | Andreas Hug | |
| Thanks Simon Charette for the report and the initial patch. | |||
