| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2013-02-19 | [1.5.x] 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-01-24 | [1.5.x] Avoided a possible regression in 5097d3c5. | Aymeric Augustin | |
| QuerySet.none() returns an instance of EmptyQuerySet, which may have undesirable side effects in the presence of custom query set classes. The implementation of .none() was refactored in master to have the same effect as .filter(pk__in=[]). Refs #19652. Thanks Simon Charrette for the report. | |||
| 2013-01-11 | [1.5.x] Fixed #10239 - Added docs for modelform_factory | Tim Graham | |
| Thanks ingenieroariel for the suggestion and slurms for the review. Backport of 71d76ec011 from master | |||
| 2013-01-03 | [1.5.x] Fixed #19545 -- Make sure media/is_multipart work with empty formsets | Simon Charette | |
| Backport of 3fc43c964e from master. | |||
| 2013-01-01 | [1.5.x] Removed unusable parameters to empty_form property | Claude Paroz | |
| Backport of 884f77bd1 from master. | |||
| 2012-12-31 | [1.5.x] Fixed #19537 -- Made CheckboxInput._has_changed handle 'False' string | Claude Paroz | |
| Thanks dibrovsd@gmail.com for the report. Backport of d11038acb2 from master. | |||
| 2012-12-28 | [1.5.x] Fix #19524 -- Incorrect caching of parents of unsaved model instances. | Aymeric Augustin | |
| Thanks qcwxezdas for the report. Refs #13839. Backport of e9c24be. | |||
| 2012-12-24 | [1.5.x] Sort HTML attributes on generated forms | Ian Clelland | |
| Backport of 6b9f130278f98b3a15f7ad1959269c200e084f03 from master | |||
| 2012-12-19 | [1.5.x] Fixed #18172 -- Made models with __iter__ usable in ↵ | Patryk Zawadzki | |
| ModelMultipleChoiceField Thanks to Patryk Zawadzki for the patch. Backpatch of 3989ce52ef78840eefe01541628daa220191c0ad | |||
| 2012-12-06 | [1.5.x] Fixed #18574 -- Make BaseFormSet.is_valid call its underlying forms' ↵ | Andreas Hug | |
| is_valid Thanks Simon Charette for the report and the initial patch. Backport of 66dfcc10b from master. | |||
| 2012-11-05 | [1.5.x] Fixed #8627 -- Prevented textareas to swallow first newline content | Claude Paroz | |
| Browsers consider the first newline in textareas as some display artifact, not real content. Hence they are not sending it back to the server. If we want to keep initial newlines, we have to add one when we render the textarea. Thanks bastih for the report and initial patch. Backport of 78f66691ee from master. | |||
| 2012-11-04 | [1.5.x] Merge pull request #495 from aisipos/ticket_18949 | Alex Gaynor | |
| Fixed #18949 -- Improve performance of model_to_dict with many-to-many Backport of 4d766b3c9aca36cbe7dc71df0cc93fb6f9deea60. | |||
| 2012-11-03 | [1.5.x] Fixed #18963 -- Used a subclass-friendly pattern | Aymeric Augustin | |
| for Python 2 object model compatibility methods. Backport of fc10418 from master. | |||
| 2012-10-26 | [1.5.x] Fixed #16820 -- Treated '0' value as True for checkbox inputs | Claude Paroz | |
| Thanks Dan Fairs for the report and the initial patch. Backport of be29329cc from master. | |||
| 2012-10-13 | Fixed #16479 - Forms generated from formsets use ErrorList instead of ↵ | Ludovic Delaveau | |
| supplied error_class Patch with tests from charettes, updated. | |||
| 2012-10-03 | Fixed #14567 -- Made ModelMultipleChoiceField return EmptyQuerySet as empty ↵ | Stephen Burrows | |
| value | |||
| 2012-09-26 | Fixed #17899 -- Rewrote [Ee]-mail to [Ee]mail | Adrien Lemaire | |
| 2012-09-23 | Fixed #18982 - Caught TypeError in DateField.clean | Aymeric Augustin | |
| Thanks gwahl at fusionbox com. | |||
| 2012-09-10 | Document and test 'type' usage in Widget attrs | Claude Paroz | |
| Refs #16630. | |||
| 2012-09-07 | Fixed #17888 -- no longer silence exceptions inside of check_test. Thanks to ↵ | Alex Gaynor | |
| brutasse for the patch. | |||
| 2012-09-06 | Made use of property decorator in formsets.py | Claude Paroz | |
| 2012-08-30 | Fixed #18751 -- Cleaned up BaseFormSet._should_delete_form | Claude Paroz | |
| We can do that now that cleaned_data is guaranteed to be present. Related to [121fd109]. Thanks Simon Charette for his work on the ticket. | |||
| 2012-08-23 | [py3] Removed duplicate imports. | Aymeric Augustin | |
| Fixed #18837. Refs #18791. | |||
| 2012-08-18 | Fixed #18791: [py3] Double import of six in django.forms.widgets | Alexey Boriskin | |
| 2012-08-14 | [py3] Removed a remaining use of __metaclass__. | Aymeric Augustin | |
| 2012-08-13 | [py3] Avoided comparison with None value in formsets | Claude Paroz | |
| 2012-08-12 | [py3] Refactored __unicode__ to __str__. | Aymeric Augustin | |
| * Renamed the __unicode__ methods * Applied the python_2_unicode_compatible decorator * Removed the StrAndUnicode mix-in that is superseded by python_2_unicode_compatible * Kept the __unicode__ methods in classes that specifically test it under Python 2 | |||
| 2012-08-08 | [py3] Fixed 'iterable but non string' detection | Claude Paroz | |
| In Python 3, the str type has an __iter__ attribute. Therefore, the presence of an __iter__ attribute is not sufficient to distinguish 'standard' iterables (list, tuple) from strings. | |||
| 2012-08-08 | [py3] Replaced __nonzero__ by __bool__ | Claude Paroz | |
| Of course, __nonzero__ alias has been kept for Python 2 compatibility. | |||
| 2012-08-07 | [py3] Ported django.utils.encoding. | Aymeric Augustin | |
| * Renamed smart_unicode to smart_text (but kept the old name under Python 2 for backwards compatibility). * Renamed smart_str to smart_bytes. * Re-introduced smart_str as an alias for smart_text under Python 3 and smart_bytes under Python 2 (which is backwards compatible). Thus smart_str always returns a str objects. * Used the new smart_str in a few places where both Python 2 and 3 want a str. | |||
| 2012-08-07 | [py3] Fixed access to dict keys/values/items. | Aymeric Augustin | |
| 2012-08-06 | Fixed #15754 -- avoid recursively computing the tree of media widgets more ↵ | Alex Gaynor | |
| times than is necessary for a wiget | |||
| 2012-08-04 | Fixed #5524 -- Do not remove cleaned_data when a form fails validation | Claude Paroz | |
| cleaned_data is no longer deleted when form validation fails but only contains the data that did validate. Thanks to the various contributors to this patch (see ticket). | |||
| 2012-08-03 | Replaced some byte strings by str() calls | Claude Paroz | |
| This is a useful trick when Python 2 awaits byte strings and Python 3 Unicode (regular) strings. | |||
| 2012-07-30 | Fixed second security issue in image uploading. Disclosure and release ↵ | Florian Apolloner | |
| forthcoming. | |||
| 2012-07-25 | it's -> its | Piet Delport | |
| 2012-07-22 | [py3] Added Python 3 compatibility for xrange. | Aymeric Augustin | |
| 2012-07-22 | [py3] Updated urllib/urllib2/urlparse imports. | Aymeric Augustin | |
| Lots of functions were moved. Use explicit imports in all cases to keey it easy to identify where the functions come from. | |||
| 2012-07-22 | [py3] Replaced unicode/str by six.text_type/bytes. | Aymeric Augustin | |
| 2012-07-22 | [py3] Replaced basestring by six.string_types. | Aymeric Augustin | |
| 2012-07-22 | [py3] Used six.with_metaclass wherever necessary. | Aymeric Augustin | |
| 2012-07-06 | Fixed #18572 - Python26 string format incompatibility | Luke Plant | |
| Thanks to anonymous/AeroNotix for the report | |||
| 2012-07-03 | Changed a lot of internal code to use 'format_html' where appropriate/possible | Luke Plant | |
| 2012-06-07 | Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. | Claude Paroz | |
| Thanks Vinay Sajip for the support of his django3 branch and Jannis Leidel for the review. | |||
| 2012-05-31 | Fixed #18409 -- Made RegexField work with unicode characters. | Julien Phalip | |
| 2012-05-19 | Marked bytestrings with b prefix. Refs #18269 | Claude Paroz | |
| This is a preparation for unicode literals general usage in Django (Python 3 compatibility). | |||
| 2012-05-16 | Hidden __pycache__ dirs for FilePathField. Refs #17393. | Claude Paroz | |
| This will be tested as soon as tests will run under Python 3. Patch taken from Vinay Sajip's Python 3 branch. | |||
| 2012-05-05 | Replaced cStringIO.StringIO by io.BytesIO. | Claude Paroz | |
| Also replaced StringIO.StringIO by BytesIO in some other appropriate places. StringIO is not available in Python 3. | |||
| 2012-04-29 | Fixed #18013 -- Use the new 'as' syntax for exceptions. | Claude Paroz | |
| Thanks Clueless for the initial patch. Note that unittest has been purposely left out (external package only used by Python 2.6). | |||
| 2012-04-29 | Fixed #17976 -- Made forms.BooleanField pickleable. | Aymeric Augustin | |
| This was a regression in Django 1.4. Thanks bronger for the report and claudep for the patch. | |||
