summaryrefslogtreecommitdiff
path: root/tests/model_forms/tests.py
AgeCommit message (Expand)Author
2023-11-28Refs #34380 -- Added FORMS_URLFIELD_ASSUME_HTTPS transitional setting.Mariusz Felisiak
2023-11-28Refs #34986 -- Fixed some test assertions for PyPy.Nick Pope
2023-10-23Fixed #34899 -- Added blank choice to forms' callable choices lazily.Nick Pope
2023-07-06Fixed #32819 -- Established relationship between form fields and their help t...Gregor Jerše
2023-04-28Fixed #34380 -- Allowed specifying a default URL scheme in forms.URLField.Coen van der Kamp
2023-04-27Avoided creating default form fields in fields_for_model() when declared on f...Mariusz Felisiak
2022-08-08Fixed #31721 -- Allowed ModelForm meta to specify form fields.Kamil Turek
2022-07-31Fixed warnings per flake8 5.0.0.Mariusz Felisiak
2022-05-17Refs #32339 -- Deprecated default.html form template.David Smith
2022-04-14Relaxed some query ordering assertions in various tests.Mariusz Felisiak
2022-04-13Fixed #33627 -- Improved nonexistent pk in ModelMultipleChoiceFieldTests.test...SanderBeekhuis
2022-02-22Removed redundant QuerySet.all() calls in docs and tests.Nick Pope
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2022-01-22Stopped including type="text/css" attributes for CSS link tags.Claude Paroz
2021-12-09Refs #32338 -- Added Boundfield.legend_tag().David Smith
2021-09-09Fixed #33084 -- Removed incorrect system check for ManyToManyField with limit...Hasan Ramezani
2020-11-06Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly.Hasan Ramezani
2020-10-27Fixed #1891, Fixed #11707 -- Prevented duplicates with limit_choices_to on mu...alvinshaita
2020-09-25Refs #28009 -- Added empty_value tests for CharField subclasses.David Smith
2020-07-30Bumped minimum isort version to 5.1.0.David Smith
2020-06-26Fixed test_clean_does_deduplicate_values on Oracle after e13cfc6dfd4212ef7a40...Mariusz Felisiak
2020-06-25Fixed #31596 -- Changed ForeignKey.validate() to use the base manager.Jon Dufresne
2020-05-18Used assertIs(…, True) in model_forms.tests.ValidationTest.Jon Dufresne
2020-04-28Changed django.forms.ValidationError imports to django.core.exceptions.Valida...François Freitag
2020-02-05Fixed #26813 -- Prevented empty choice in ModelChoiceField with RadioSelect f...Hasan Ramezani
2020-02-05Refs #26813 -- Added test for ModelChoiceField.choices when using RadioSelect...Mariusz Felisiak
2019-12-11Fixed #31080 -- Removed redundant type="text/javascript" attribute from <scri...Jon Dufresne
2019-06-28Fixed #30400 -- Improved typography of user facing strings.Jon Dufresne
2019-06-04Fixed #30534 -- Fixed overriding a field's default in ModelForm.cleaned_data().RobertAKARobin
2019-04-25Fixed #30399 -- Changed django.utils.html.escape()/urlize() to use html.escap...Jon Dufresne
2019-04-03Fixed #30302 -- Fixed forms.model_to_dict() result if empty list of fields is...belegnar
2019-04-03Refs #30302 -- Added more tests for forms.model_to_dict().belegnar
2019-01-02Used 4 space hanging indent for dictionaries.Tim Graham
2018-11-27Switched setUp() to setUpTestData() where possible in Django's tests.Simon Charette
2018-11-27Switched TestCase to SimpleTestCase where possible in Django's tests.Tim Graham
2018-07-25Refs #13091 -- Added test for commit=False idiom with partial unique_together...Carlton Gibson
2018-04-23Fixed #28312 -- Made ModelChoiceIterator.__len__() more memory-efficient.François Freitag
2018-03-31Fixed #29279 -- Added renderer argument to ModelForm.Dan Watson
2018-03-16Fixed hanging indentation in various code.Mariusz Felisiak
2018-03-01Fixed #29158 -- Fixed len(choices) crash if ModelChoiceField's queryset is a ...François Freitag
2018-03-01Consolidated ModelChoiceField tests.François Freitag
2018-02-28Eliminated the need to modify a model forms test when new test files are added.Tim Graham
2018-01-21Fixed #29038 -- Removed closing slash from HTML void tags.Jon Dufresne
2018-01-20Fixed #29041 -- Changed SelectMultiple's multiple attribute to HTML5 boolean ...Jon Dufresne
2017-08-31Fixed #28543 -- Prevented ManyToManyField.value_from_object() from being lazy.Tim Graham
2017-07-29Used assertRaisesMessage() to test Django's error messages.Mads Jensen
2017-07-14Fixed #28387 -- Fixed has_changed() for disabled form fields that subclass it.Srinivas Reddy Thatiparthy
2017-06-30Fixed #28345 -- Applied limit_choices_to during ModelForm.__init__().Jon Dufresne
2017-06-10Refs #23919 -- Replaced stray super(ClassName, self) with super().Tom