summaryrefslogtreecommitdiff
path: root/tests/model_forms
Commit message (Expand)AuthorAgeFilesLines
* Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly.Hasan Ramezani2020-11-061-20/+20
* Fixed #1891, Fixed #11707 -- Prevented duplicates with limit_choices_to on mu...alvinshaita2020-10-272-2/+74
* Refs #28009 -- Added empty_value tests for CharField subclasses.David Smith2020-09-252-4/+18
* Bumped minimum isort version to 5.1.0.David Smith2020-07-301-1/+1
* Fixed test_clean_does_deduplicate_values on Oracle after e13cfc6dfd4212ef7a40...Mariusz Felisiak2020-06-261-4/+4
* Fixed #31596 -- Changed ForeignKey.validate() to use the base manager.Jon Dufresne2020-06-252-0/+55
* Used assertIs(…, True) in model_forms.tests.ValidationTest.Jon Dufresne2020-05-181-3/+3
* Changed django.forms.ValidationError imports to django.core.exceptions.Valida...François Freitag2020-04-282-4/+3
* Fixed #26813 -- Prevented empty choice in ModelChoiceField with RadioSelect f...Hasan Ramezani2020-02-053-0/+40
* Refs #26813 -- Added test for ModelChoiceField.choices when using RadioSelect...Mariusz Felisiak2020-02-051-0/+14
* Fixed #30998 -- Added ModelChoiceIteratorValue to pass the model instance to ...Jon Dufresne2019-12-231-0/+26
* Fixed typo in ModelChoiceFieldTests.Jon Dufresne2019-12-111-1/+1
* Fixed #31080 -- Removed redundant type="text/javascript" attribute from <scri...Jon Dufresne2019-12-111-1/+1
* Fixed #30014 -- Fixed ModelChoiceField validation when initial value is a mod...Etienne Chové2019-10-111-0/+19
* Added ModelChoiceField test for validation with to_field_name.Etienne Chové2019-10-111-0/+4
* Fixed #30400 -- Improved typography of user facing strings.Jon Dufresne2019-06-282-2/+2
* Fixed #30534 -- Fixed overriding a field's default in ModelForm.cleaned_data().RobertAKARobin2019-06-041-0/+26
* Fixed #30399 -- Changed django.utils.html.escape()/urlize() to use html.escap...Jon Dufresne2019-04-251-7/+7
* Fixed #30302 -- Fixed forms.model_to_dict() result if empty list of fields is...belegnar2019-04-031-0/+1
* Refs #30302 -- Added more tests for forms.model_to_dict().belegnar2019-04-031-0/+3
* Used 4 space hanging indent for dictionaries.Tim Graham2019-01-021-9/+19
* Followed style guide for model attribute ordering.Matt Wiens2018-12-271-3/+3
* Moved choices inside of test models per coding style.Manan2018-12-101-12/+10
* Switched setUp() to setUpTestData() where possible in Django's tests.Simon Charette2018-11-271-6/+8
* Switched TestCase to SimpleTestCase where possible in Django's tests.Tim Graham2018-11-271-1/+1
* Refs #13091 -- Added test for commit=False idiom with partial unique_together...Carlton Gibson2018-07-251-0/+28
* Refs #28312 -- Added an optimized __bool__() to ModelChoiceIterator.François Freitag2018-04-231-0/+11
* Fixed #28312 -- Made ModelChoiceIterator.__len__() more memory-efficient.François Freitag2018-04-232-12/+20
* Fixed #29279 -- Added renderer argument to ModelForm.Dan Watson2018-03-311-0/+4
* Fixed hanging indentation in various code.Mariusz Felisiak2018-03-161-58/+58
* Fixed #29159 -- Made ModelChoiceIterator reuse QuerySet result cache.François Freitag2018-03-011-0/+11
* Fixed #29158 -- Fixed len(choices) crash if ModelChoiceField's queryset is a ...François Freitag2018-03-012-1/+2
* Consolidated ModelChoiceField tests.François Freitag2018-03-012-258/+277
* Eliminated the need to modify a model forms test when new test files are added.Tim Graham2018-02-282-7/+3
* Fixed #29038 -- Removed closing slash from HTML void tags.Jon Dufresne2018-01-211-58/+58
* Fixed #29041 -- Changed SelectMultiple's multiple attribute to HTML5 boolean ...Jon Dufresne2018-01-201-8/+8
* Fixed #28543 -- Prevented ManyToManyField.value_from_object() from being lazy.Tim Graham2017-08-311-0/+15
* Used assertRaisesMessage() to test Django's error messages.Mads Jensen2017-07-291-9/+17
* Fixed #28387 -- Fixed has_changed() for disabled form fields that subclass it.Srinivas Reddy Thatiparthy2017-07-141-0/+8
* Fixed #28345 -- Applied limit_choices_to during ModelForm.__init__().Jon Dufresne2017-06-301-1/+11
* Refs #23919 -- Replaced stray super(ClassName, self) with super().Tom2017-06-101-1/+1
* Fixed #28242 -- Moved ImageField file extension validation to the form field.Manatsawin Hanmongkolchai2017-06-012-1/+30
* Fixed #28249 -- Removed unnecessary dict.keys() calls.Jon Dufresne2017-05-271-9/+9
* Fixed #27993 -- Fixed model form default fallback for SelectMultiple.heathervm2017-03-311-0/+16
* Fixed #27975 -- Fixed crash if ModelChoiceField's queryset=None.James Beith2017-03-221-0/+11
* Fixed nondeterministic ordering test failure in model_forms.Mariusz Felisiak2017-03-161-1/+1
* Refs #27563 -- Fixed ModelChoiceField.__deepcopy__() so forms don't share a q...Tim Graham2017-03-151-0/+9
* Removed obsolete references to form_for_instance().Tim Graham2017-02-282-10/+0
* Refs #23919 -- Used yield from.Vytis Banaitis2017-02-231-2/+1
* Fixed #27758 -- Reallowed AdvancedModelIterator pattern after template widget...Jon Dufresne2017-01-311-0/+37