Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/django/forms
Commit message (Collapse)AuthorAgeFilesLines
...
* Added missing return value to ↵Michael Angeletti2015-02-151-0/+1
| | | | DurationField.prepare_value(); refs #24339.
* Fixed #24339 -- Fixed crash with empty DurationField ↵Michael Angeletti2015-02-141-1/+2
| | | | form field.
* Fixed #24295 -- Allowed ModelForm meta to specify form ↵Loic Bistuer2015-02-131-8/+24
| | | | | | field classes. Thanks Carl Meyer and Markus Holtermann for the reviews.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-066-42/+45
|
* Removed old import aliases.Tim Graham2015-02-061-4/+0
|
* Fixed #24219 -- Moved SelectDateWidget together with the ↵Loic Bistuer2015-01-273-160/+157
| | | | | | | | other widgets and deprecated django.forms.extras. Thanks Berker Peksag and Tim Graham for the reviews.
* Fixed typos in code comments.Adam Taylor2015-01-201-1/+1
|
* Removed IPAddressField per deprecation timeline; refs ↵Tim Graham2015-01-191-16/+2
| | | | #20439.
* Removed forms.forms.get_declared_fields() per ↵Tim Graham2015-01-181-41/+0
| | | | deprecation timeline; refs #19617.
* Removed support for SplitDateTimeWidget with ↵Tim Graham2015-01-181-12/+0
| | | | | | DateTimeField per deprecation timeline. refs #8898
* Removed unused imports.Tim Graham2015-01-171-2/+0
|
* Removed Multiple/ModelChoiceField cache_choices option; ↵Tim Graham2015-01-171-24/+6
| | | | refs #22838.
* Removed django.utils.datastructures.MergeDict per ↵Tim Graham2015-01-171-3/+3
| | | | deprecation timeline; refs #18659.
* Removed backwards compatibility shims for "util" modules ↵Tim Graham2015-01-171-9/+0
| | | | | | per deprecation timeline. refs #17627.
* Fixed #23712 -- Fixed KeyError with BaseForm._html_output()Yang Liu2015-01-161-3/+8
|
* Fixed DoS possibility in ModelMultipleChoiceField.Tim Graham2015-01-131-5/+23
| | | | | | This is a security fix. Disclosure following shortly. Thanks Keryn Knight for the report and initial patch.
* Fixed #24138 -- Added modelform_factory to __all__.Josh Schneier2015-01-121-1/+1
|
* Fixed #12663 -- Formalized the Model._meta API for ↵Daniel Pyrathon2015-01-071-3/+4
| | | | | | | retrieving fields. Thanks to Russell Keith-Magee for mentoring this Google Summer of Code 2014 project and everyone else who helped with the patch!
* Fixed #21414 -- Removed RelatedObject and deprecated ↵Anssi Kääriäinen2014-12-231-2/+1
| | | | Field.related.
* Fixed #2443 -- Added DurationField.Marc Tamlyn2014-12-201-1/+22
| | | | | | | | | | | A field for storing periods of time - modeled in Python by timedelta. It is stored in the native interval data type on PostgreSQL and as a bigint of microseconds on other backends. Also includes significant changes to the internals of time related maths in expressions, including the removal of DateModifierNode. Thanks to Tim and Josh in particular for reviews.
* Fixed #23812 -- Changed django.utils.six.moves.xrange ↵Michael Hall2014-12-131-2/+2
| | | | imports to range
* Fixed #23674 -- Fixed a crash when a MultiValueField has ↵Grzegorz Slusarek2014-12-121-1/+5
| | | | invalid data.
* Fixed #23968 -- Replaced list comprehension with ↵Jon Dufresne2014-12-082-2/+2
| | | | generators and dict comprehension
* Removed redundant numbered parameters from str.format().Berker Peksag2014-12-033-23/+23
| | | | Since Python 2.7 and 3.1, "{0} {1}" is equivalent to "{} {}".
* Fixed typo in forms/models.py comment.Simon Charette2014-11-211-1/+1
|
* Fixed #23883 -- Stopped flatatt modifying its argumentTim Heap2014-11-211-7/+8
|
* Fixed #23795 -- Fixed a regression in custom form fieldsBaptiste Mispelon2014-11-122-15/+13
| | | | | | | | | Custom form fields having a `queryset` attribute but no `limit_choices_to` could no longer be used in ModelForms. Refs #2445. Thanks to artscoop for the report.
* Fixed #13181 -- Added support for callable choices to ↵Peter Inglesby2014-11-041-1/+15
| | | | | | forms.ChoiceField Thanks vanschelven and expleo for the initial patch.
* Removed some commented code in the forms Media class.Tim Graham2014-10-271-4/+0
|
* Fixed #23623 -- Reduced memory consumption when ↵Thomas Chaumeny2014-10-101-2/+2
| | | | generating ModelChoiceField choices
* Fixed #23594 -- Fixed deepcopy on ErrorList.Loic Bistuer2014-10-061-0/+9
| | | | Thanks Troy Grosfield for the report and Tim Graham for the tests.
* Fixed #19463 -- Added UUIDFieldMarc Tamlyn2014-09-161-1/+24
| | | | Uses native support in postgres, and char(32) on other backends.
* Fixed #23451 -- Fixed typo in inlineformset_factory() ↵Petras Zdanavičius2014-09-081-1/+1
| | | | error message.
* Limited lines to 119 characters in django/Tim Graham2014-09-054-12/+38
| | | | refs #23395.
* Fixed #21201 -- Improved customization of ↵Vlastimil Zíma2014-08-291-7/+18
| | | | ClearableFileInput.
* Fixed #23167 -- Added BaseForm.__repr__()areski2014-08-221-0/+12
| | | | Thanks Keryn Knight for the idea.
* Fixed #23162 -- Renamed forms.Field._has_changed() to ↵Gabriel Muñumel2014-08-153-13/+19
| | | | has_changed().
* Fixed #22745 -- Prevented reevaluation of ↵Vincent-Vega2014-08-041-0/+4
| | | | | | ModelChoiceField's queryset when accesssing BoundField's attrs. Thanks Christian Schmitt for review.
* Corrected a comment in forms/forms.py; refs #16612.Tim Graham2014-08-041-1/+1
|
* Fixed #23151 -- Deprecated RegexField.error_message.Tim Graham2014-08-031-1/+6
| | | | Thanks Baptiste Mispelon for the suggestion.
* Fixed two typos in docstrings.Baptiste Mispelon2014-08-021-1/+1
|
* Fixed #23103 -- Annotated ImageField file with image and ↵Petras Zdanavičius2014-08-011-1/+6
| | | | | | content_type attributes. Thanks Jeremy Dunck for the suggestion and Nick Sanford for review.
* Fixed #22808 -- Made ModelMultipleChoiceField validation ↵Niclas Olofsson2014-07-311-2/+2
| | | | | | more robust to invalid data types.. Thanks Mattias Lindvall for the report and inital patch.
* Fixed #23129 -- Added 'true' and 'false' to ↵Kit La Touche2014-07-301-5/+7
| | | | | | | | | | `NullBooleanField`. JavaScript serializations of forms will sometimes render the boolean values as the strings 'true' and 'false', in lower case. Rather than repeat boilerplate in the JavaScript to circumvent this, it seems reasonable to allow Django to understand the lower-case versions of the booleans.
* Fixed #23113 -- ChoiceInput.render should take specified ↵Simon Charette2014-07-281-3/+7
| | | | | | attrs into account. Thanks to Tim Graham for the review.
* Fixed #13794 -- Fixed to_field usage in BaseInlineFormSet.Tim Graham2014-07-091-1/+5
| | | | | Thanks sebastien at clarisys.fr for the report and gautier for the patch.
* Fixed various minor doc typos / references.Daniel Hahler2014-07-061-1/+1
|
* Fixed #22950 -- Eased markup customization for choice ↵Claude Paroz2014-07-051-7/+10
| | | | | | field rendering Thanks Patrick Robertson for the report.
* Ensured bound field renders as unicode safe dataClaude Paroz2014-07-051-1/+1
| | | | Refs #22950.
* Prevented evaluation of a possible lazy messageClaude Paroz2014-06-211-1/+1
| | | | | As far as possible, message evaluation should not happen in field __init__ (often run at import time).