summaryrefslogtreecommitdiff
path: root/django/forms/models.py
AgeCommit message (Expand)Author
5 hoursFixed #31295 -- Avoid Select widget triggering additional query when using Mo...fix-31295Charles Roelli
9 daysFixed #35870 -- Made blank choice label in forms more accessible.Annabelle Wiegart
2026-04-01Fixed #37004 -- Used QuerySet.totally_ordered in BaseModelFormSet.get_queryse...Rodrigo Vieira
2025-08-25Fixed #36251 -- Avoided mutating form Meta.fields in BaseInlineFormSet.SaJH
2025-08-21Clarified "inline foreign key" to avoid confusion with generated fields in dj...Clifford Gama
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
2025-03-31Refs #28909 -- Simplified code using unpacking generalizations.Aarni Koskela
2025-03-12Fixed #35676 -- Made BaseModelForm validate constraints that reference an Inl...Clifford Gama
2025-03-10Fixed #36201 -- Caught ValidationError in ModelChoiceField/ModelMultipleChoic...saJaeHyukc
2024-09-09Refs #373 -- Added Model._is_pk_set() abstraction to check if a Model's PK is...Csirmaz Bendegúz
2024-06-17Fixed #35483 -- Added NUL (0x00) character validation to ModelChoiceFields.Alexander Lötvall
2024-06-13Fixed #35488 -- Fixed BaseModelFormSet.validate_unique() crash due to unhasha...Madalin Popa
2024-02-26Fixed #35241 -- Cached model's full parent list.Adam Johnson
2024-02-20Fixed #35236 -- Used Field.attname/column attributes instead of get_attname()...Adam Johnson
2024-01-26Applied Black's 2024 stable style.Mariusz Felisiak
2023-11-02Fixed #34927 -- Fixed admin system check for inlines with foreign keys to pro...Antoine Cheneau
2023-09-04Refs #31262 -- Renamed ChoiceIterator to BaseChoiceIterator.Nick Pope
2023-08-30 Fixed #31262 -- Added support for mappings on model fields and ChoiceField's...Nick Pope
2023-07-07Fixed #32210 -- Fixed model inlines with to_field that has a default.Neeraj Kumar
2023-04-27Avoided creating default form fields in fields_for_model() when declared on f...Mariusz Felisiak
2023-02-07Fixed #34317 -- Renamed "instance" argument of BaseModelFormSet.save_existing...Bakdolot
2022-11-04Fixed #27654 -- Propagated alters_data attribute to callables overridden in s...LightDiscord
2022-10-31Used more augmented assignment statements.Nick Pope
2022-08-08Fixed #31721 -- Allowed ModelForm meta to specify form fields.Kamil Turek
2022-07-05Fixed #33822 -- Fixed save() crash on model formsets when not created by mode...Shawn Dong
2022-05-10Fixed #30581 -- Added support for Meta.constraints validation.Gagaro
2022-03-16Used sets for field names for exclusion.Gagaro
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-02-03Refs #33476 -- Refactored problematic code before reformatting by Black.Mariusz Felisiak
2022-01-27Fixed #26142 -- Allowed model formsets to prevent new object creation.vgolubev
2021-09-30Fixed #33155 -- Made ModelChoiceIteratorValue instances hashable.Aljaž Košir
2021-09-20Fixed #31026 -- Switched form rendering to template engine.David Smith
2021-09-03Fixed #32975 -- Fixed admin system check for inlines with foreign keys to pro...taulant
2021-01-26Fixed #32347 -- Made ModelChoiceField include the value in ValidationError fo...Jerin Peter George
2021-01-14Refs #8760 -- Removed "list" message for ModelMultipleChoiceField per depreca...Mariusz Felisiak
2020-10-27Fixed #1891, Fixed #11707 -- Prevented duplicates with limit_choices_to on mu...alvinshaita
2020-07-30Bumped minimum isort version to 5.1.0.David Smith
2020-06-24Fixed #9061 -- Allowed FormSets to disable deleting extra forms.David Smith
2020-06-05Fixed #20347 -- Allowed customizing the maximum number of instantiated forms ...David Smith
2020-03-12Fixed #8760 -- Changed ModelMultipleChoiceField to use invalid_list as a erro...David Smith
2020-02-05Fixed #26813 -- Prevented empty choice in ModelChoiceField with RadioSelect f...Hasan Ramezani
2020-02-04Simplified imports from django.db and django.contrib.gis.db.Nick Pope
2019-12-23Fixed #30998 -- Added ModelChoiceIteratorValue to pass the model instance to ...Jon Dufresne
2019-12-17Fixed #31086 -- Improved error message for admin model inlines with more than...Shubham singh
2019-11-28Refs #23919 -- Replaced super(...) with super() in metaclasses.Jon Dufresne
2019-10-11Fixed #30014 -- Fixed ModelChoiceField validation when initial value is a mod...Etienne Chové
2019-06-28Fixed #30400 -- Improved typography of user facing strings.Jon Dufresne
2019-06-20Added missing form argument in modelform_factory() docstring.Tobias Kunze
2019-06-04Fixed #30534 -- Fixed overriding a field's default in ModelForm.cleaned_data().RobertAKARobin