| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Used 4 space hanging indent for dictionaries. | Tim Graham | 2019-01-02 | 1 | -9/+19 |
| | | | | Thanks Mariusz Felisiak for auditing. | ||||
| * | Switched setUp() to setUpTestData() where possible in Django's tests. | Simon Charette | 2018-11-27 | 1 | -6/+8 |
| | | |||||
| * | Switched TestCase to SimpleTestCase where possible in Django's tests. | Tim Graham | 2018-11-27 | 1 | -1/+1 |
| | | |||||
| * | Refs #13091 -- Added test for commit=False idiom with partial ↵ | Carlton Gibson | 2018-07-25 | 1 | -0/+28 |
| | | | | | unique_together validation. | ||||
| * | Fixed #28312 -- Made ModelChoiceIterator.__len__() more memory-efficient. | François Freitag | 2018-04-23 | 1 | -1/+1 |
| | | | | | | | | | | Instead of loading all QuerySet results in memory, count the number of entries. This adds an extra query when list() or tuple() is called on the choices (because both call __len__() then __iter__()) but uses less memory since the QuerySet results won't be cached. In most cases, the choices will only be iterated on, meaning that __len__() won't be called and only one query will be executed. | ||||
| * | Fixed #29279 -- Added renderer argument to ModelForm. | Dan Watson | 2018-03-31 | 1 | -0/+4 |
| | | |||||
| * | Fixed hanging indentation in various code. | Mariusz Felisiak | 2018-03-16 | 1 | -58/+58 |
| | | |||||
| * | Fixed #29158 -- Fixed len(choices) crash if ModelChoiceField's queryset is a ↵ | François Freitag | 2018-03-01 | 1 | -1/+1 |
| | | | | | | | | manager. Removing all() in __iter__() prevents a duplicate query when choices are cast to a list and there's a prefetch_related(). | ||||
| * | Consolidated ModelChoiceField tests. | François Freitag | 2018-03-01 | 1 | -258/+2 |
| | | |||||
| * | Eliminated the need to modify a model forms test when new test files are added. | Tim Graham | 2018-02-28 | 1 | -6/+2 |
| | | |||||
| * | Fixed #29038 -- Removed closing slash from HTML void tags. | Jon Dufresne | 2018-01-21 | 1 | -58/+58 |
| | | |||||
| * | Fixed #29041 -- Changed SelectMultiple's multiple attribute to HTML5 boolean ↵ | Jon Dufresne | 2018-01-20 | 1 | -8/+8 |
| | | | | | syntax. | ||||
| * | Fixed #28543 -- Prevented ManyToManyField.value_from_object() from being lazy. | Tim Graham | 2017-08-31 | 1 | -0/+15 |
| | | | | | | | | Previously, it was a QuerySet which could reevaluate to a new value if the model's data changes. This is inconsistent with other Field.value_from_object() methods. This allows reverting the fix in the admin for refs #27998. | ||||
| * | Used assertRaisesMessage() to test Django's error messages. | Mads Jensen | 2017-07-29 | 1 | -9/+17 |
| | | |||||
| * | Fixed #28387 -- Fixed has_changed() for disabled form fields that subclass it. | Srinivas Reddy Thatiparthy | 2017-07-14 | 1 | -0/+8 |
| | | |||||
| * | Fixed #28345 -- Applied limit_choices_to during ModelForm.__init__(). | Jon Dufresne | 2017-06-30 | 1 | -1/+11 |
| | | | | | | | | | field_for_model() now has an additional keyword argument, apply_limit_choices_to, allowing it to continue to be used to create form fields dynamically after ModelForm.__init__() is called. Thanks Tim Graham for the review. | ||||
| * | Refs #23919 -- Replaced stray super(ClassName, self) with super(). | Tom | 2017-06-10 | 1 | -1/+1 |
| | | |||||
| * | Fixed #28242 -- Moved ImageField file extension validation to the form field. | Manatsawin Hanmongkolchai | 2017-06-01 | 1 | -1/+19 |
| | | |||||
| * | Fixed #28249 -- Removed unnecessary dict.keys() calls. | Jon Dufresne | 2017-05-27 | 1 | -9/+9 |
| | | | | iter(dict) is equivalent to iter(dict.keys()). | ||||
| * | Fixed #27993 -- Fixed model form default fallback for SelectMultiple. | heathervm | 2017-03-31 | 1 | -0/+16 |
| | | |||||
| * | Fixed #27975 -- Fixed crash if ModelChoiceField's queryset=None. | James Beith | 2017-03-22 | 1 | -0/+11 |
| | | | | | Regression in 9153d8fbd6385db9f48793662de789fc3d686841. | ||||
| * | Fixed nondeterministic ordering test failure in model_forms. | Mariusz Felisiak | 2017-03-16 | 1 | -1/+1 |
| | | |||||
| * | Refs #27563 -- Fixed ModelChoiceField.__deepcopy__() so forms don't share a ↵ | Tim Graham | 2017-03-15 | 1 | -0/+9 |
| | | | | | | queryset cache. Thanks Luke Benstead for the report Simon Charettes for the fix. | ||||
| * | Removed obsolete references to form_for_instance(). | Tim Graham | 2017-02-28 | 1 | -2/+0 |
| | | |||||
| * | Fixed #27758 -- Reallowed AdvancedModelIterator pattern after template ↵ | Jon Dufresne | 2017-01-31 | 1 | -0/+37 |
| | | | | | widget rendering. | ||||
| * | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | 2017-01-25 | 1 | -3/+3 |
| | | |||||
| * | Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage. | Tim Graham | 2017-01-20 | 1 | -4/+3 |
| | | | | These functions do nothing on Python 3. | ||||
| * | Refs #23919 -- Removed str() conversion of type and method __name__. | Simon Charette | 2017-01-19 | 1 | -6/+6 |
| | | |||||
| * | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | 2017-01-19 | 1 | -1/+1 |
| | | |||||
| * | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | 2017-01-18 | 1 | -2/+1 |
| | | | | | Thanks Tim Graham for the review. | ||||
| * | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | 2017-01-18 | 1 | -17/+17 |
| | | | | | Thanks Tim Graham and Simon Charette for the reviews. | ||||
| * | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | 2017-01-18 | 1 | -2/+0 |
| | | |||||
| * | Refs #26154 -- Removed deprecated CommaSeparatedIntegerField. | Tim Graham | 2017-01-17 | 1 | -35/+6 |
| | | |||||
| * | Fixed #27370 -- Prevented Select widget from using 'required' with a ↵ | Josef Rousek | 2016-12-28 | 1 | -2/+2 |
| | | | | | non-empty first value. | ||||
| * | Fixed #15667 -- Added template-based widget rendering. | Preston Timmons | 2016-12-27 | 1 | -8/+1 |
| | | | | | Thanks Carl Meyer and Tim Graham for contributing to the patch. | ||||
| * | Updated LimitChoicesToTests to use setUpTestData and cosmetic edits. | Tim Graham | 2016-12-02 | 1 | -13/+12 |
| | | |||||
| * | Fixed #27563 -- Moved "apply limit_choices_to" code from BaseModelForm to ↵ | Jon Dufresne | 2016-12-02 | 1 | -0/+4 |
| | | | | | fields_for_model(). | ||||
| * | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | 2016-11-10 | 1 | -9/+8 |
| | | |||||
| * | Fixed #27369 -- Prevented widgets from being shared between form field ↵ | Michal Petrucha | 2016-11-06 | 1 | -1/+1 |
| | | | | | instances. | ||||
| * | Refs #27186 -- Fixed model form default fallback for CheckboxSelectMultiple. | Tim Graham | 2016-09-30 | 1 | -1/+17 |
| | | |||||
| * | Fixed #27186 -- Fixed model form default fallback for MultiWidget, ↵ | Tim Graham | 2016-09-22 | 1 | -0/+52 |
| | | | | | | | FileInput, SplitDateTimeWidget, SelectDateWidget, and SplitArrayWidget. Thanks Matt Westcott for the review. | ||||
| * | Fixed #27256 -- Changed Select widget's selected attribute to use HTML5 ↵ | Jon Dufresne | 2016-09-21 | 1 | -22/+22 |
| | | | | | boolean syntax. | ||||
| * | Organized forms_tests test_regressions.py. | Tim Graham | 2016-09-09 | 1 | -0/+16 |
| | | |||||
| * | Refs #27039 -- Fixed regression with field defaults in prefixed forms. | Alex Hill | 2016-09-01 | 1 | -0/+16 |
| | | |||||
| * | Fixed #27039 -- Fixed empty data fallback to model field default in model forms. | Tim Graham | 2016-08-24 | 1 | -2/+41 |
| | | |||||
| * | Fixed #27002 -- Prevented double query when rendering ModelChoiceField. | Alex Hill | 2016-08-08 | 1 | -3/+14 |
| | | |||||
| * | Fixed #27001 -- Fixed a query count regression in ModelChoiceField with ↵ | Alex Hill | 2016-08-03 | 1 | -0/+8 |
| | | | | | RadioSelect. | ||||
| * | Fixed #26970 -- Fixed crash with disabled ModelMultipleChoiceField. | Tim Graham | 2016-07-30 | 1 | -0/+25 |
| | | |||||
| * | Fixed #26917 -- Fixed crash in disabled ModelChoiceFields. | Tim Graham | 2016-07-27 | 1 | -0/+15 |
| | | | | | | | | | Partially reverted refs #25532 to fix a regression in Django 1.10. This reintroduces a crash for disabled forms.JSONField (refs #26949), however, that issue is also present on Django 1.9. Thanks Ryan Schave for the test. | ||||
| * | Fixed #17657 -- Made ModelForm respect ModelMultipleChoiceField's to_field_name. | Andrey Fedoseev | 2016-07-12 | 1 | -72/+19 |
| | | | | | Follow up to 67d984413c9540074e4fe6aa033081a35cf192bc. | ||||
