| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-08-27 | Fixed #37255 -- Avoided relying on implicit SELECT ordering in tests. | viralpraxis | |
| Many (~70) tests assert a specific row order for querysets whose SQL has no ORDER BY. SQL standard does not define that order. On PostgreSQL the rows usually arrive in physical storage order, which on a freshly loaded table matches insertion order -- so these assertions pass by coincidence rather than by contract. That breaks when rows are updated or deleted and the space is reused, or when the planner picks a different access path such as an index scan. A test like this can start failing with no change to Django or to the test itself. The patch made sure that most of these tests do not rely on unspecified unordered selection order. | |||
| 2026-04-22 | Fixed #35870 -- Made blank choice label in forms more accessible. | Annabelle Wiegart | |
| Added new constant django.db.models.fields.BLANK_CHOICE_LABEL for an accessible and translatable blank choice label in forms. Deprecated django.db.models.fields.BLANK_CHOICE_DASH constant. Added the immediately deprecated transitional setting USE_BLANK_CHOICE_DASH. Co-Authored-By: Marijke Luttekes <mail@marijkeluttekes.dev> | |||
| 2026-02-10 | Modified tests to format PKs with %s rather than %d. | Tim Graham | |
| It's how Django formats values internally and makes tests compatible with databases that use non-integer primary keys. | |||
| 2026-01-18 | Applied Black's 2026 stable style. | Mariusz Felisiak | |
| https://github.com/psf/black/releases/tag/26.1.0 | |||
| 2025-11-13 | Fixed #36724 -- Removed invalid "for" attribute on <legend> tags. | Kasyap Pentamaraju | |
| 2025-11-13 | Fixed #36730 -- Fixed constraint validation crash for excluded FK attnames. | Adam Johnson | |
| Regression in e44e8327d3d88d86895735c0e427102063ff5b55. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2025-07-23 | Refs #36500 -- Rewrapped long docstrings and block comments via a script. | django-bot | |
| Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505. | |||
| 2025-07-23 | Refs #36500 -- Shortened some long docstrings and comments. | Mike Edmunds | |
| Manually reformatted some long docstrings and comments that would be damaged by the to-be-applied autofixer script, in cases where editorial judgment seemed necessary for style or wording changes. | |||
| 2025-07-23 | Removed double spaces after periods and within phrases. | Sarah Boyce | |
| 2025-06-13 | Refs #35676 -- Added supports_table_check_constraints skip to model_forms tests. | Tim Graham | |
| 2025-04-16 | Americanized some spellings. | Adam Johnson | |
| 2025-03-12 | Fixed #35676 -- Made BaseModelForm validate constraints that reference an ↵ | Clifford Gama | |
| InlineForeignKeyField. Co-authored-by: Simon Charette <charette.s@gmail.com> | |||
| 2025-03-10 | Fixed #36201 -- Caught ValidationError in ↵ | saJaeHyukc | |
| ModelChoiceField/ModelMultipleChoiceField.clean(). Signed-off-by: saJaeHyukc <wogur981208@gmail.com> | |||
| 2025-01-15 | Refs #34380 -- Changed the URLField default scheme to https and removed ↵ | Sarah Boyce | |
| FORMS_URLFIELD_ASSUME_HTTPS per deprecation timeline. | |||
| 2024-12-20 | Refs #35844 -- Fixed OtherModelFormTests.test_prefetch_related_queryset() ↵ | Mariusz Felisiak | |
| test on Python 3.14+. https://github.com/python/cpython/commit/5a23994a3dbee43a0b08f5920032f60f38b63071 | |||
| 2024-12-05 | Refs #32819 -- Added id to ErrorList class and template. | David Smith | |
| 2024-07-22 | Cleaned up temporary test directories in tests. | Mariusz Felisiak | |
| 2024-06-17 | Fixed #35483 -- Added NUL (0x00) character validation to ModelChoiceFields. | Alexander Lötvall | |
| Applied the ProhibitNullCharactersValidator to ModelChoiceField and ModelMultipleChoiceField. Co-authored-by: Viktor Paripás <viktor.paripas@gmail.com> Co-authored-by: Vasyl Dizhak <vasyl@dizhak.com> Co-authored-by: Arthur Vasconcelos <vasconcelos.arthur@gmail.com> | |||
| 2024-01-02 | Fixed #35060 -- Deprecated passing positional arguments to Model.save()/asave(). | Salvo Polizzi | |
| 2023-11-28 | Refs #34380 -- Added FORMS_URLFIELD_ASSUME_HTTPS transitional setting. | Mariusz Felisiak | |
| This allows early adoption of the new default "https". | |||
| 2023-11-28 | Refs #34986 -- Fixed some test assertions for PyPy. | Nick Pope | |
| These failures were due to minor inconsistencies or implementation differences between CPython and PyPy. | |||
| 2023-10-23 | Fixed #34899 -- Added blank choice to forms' callable choices lazily. | Nick Pope | |
| 2023-07-06 | Fixed #32819 -- Established relationship between form fields and their help ↵ | Gregor Jerše | |
| text. Thanks Nimra for the initial patch. Thanks Natalia Bidart, Thibaud Colas, David Smith, and Mariusz Felisiak for reviews. | |||
| 2023-04-28 | Fixed #34380 -- Allowed specifying a default URL scheme in forms.URLField. | Coen van der Kamp | |
| This also deprecates "http" as the default scheme. | |||
| 2023-04-27 | Avoided creating default form fields in fields_for_model() when declared on ↵ | Mariusz Felisiak | |
| form. | |||
| 2022-08-08 | Fixed #31721 -- Allowed ModelForm meta to specify form fields. | Kamil Turek | |
| 2022-07-31 | Fixed warnings per flake8 5.0.0. | Mariusz Felisiak | |
| 2022-05-17 | Refs #32339 -- Deprecated default.html form template. | David Smith | |
| Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> | |||
| 2022-04-18 | Fixed various tests on MySQL with MyISAM storage engine. | Mariusz Felisiak | |
| 2022-04-14 | Relaxed some query ordering assertions in various tests. | Mariusz Felisiak | |
| It accounts for differences seen on MySQL with MyISAM storage engine. | |||
| 2022-04-13 | Fixed #33627 -- Improved nonexistent pk in ↵ | SanderBeekhuis | |
| ModelMultipleChoiceFieldTests.test_model_multiple_choice_field(). | |||
| 2022-02-22 | Removed redundant QuerySet.all() calls in docs and tests. | Nick Pope | |
| Most QuerySet methods are mapped onto the Manager and, in general, it isn't necessary to call .all() on the manager. | |||
| 2022-02-07 | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | |
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2022-01-22 | Stopped including type="text/css" attributes for CSS link tags. | Claude Paroz | |
| 2021-12-09 | Refs #32338 -- Added Boundfield.legend_tag(). | David Smith | |
| 2021-09-30 | Fixed #33155 -- Made ModelChoiceIteratorValue instances hashable. | Aljaž Košir | |
| 2021-09-09 | Fixed #33084 -- Removed incorrect system check for ManyToManyField with ↵ | Hasan Ramezani | |
| limit_choices_to. | |||
| 2021-08-27 | Refs #32338 -- Made RadioSelect/CheckboxSelectMultiple render in <div> tags. | David Smith | |
| This improves accessibility for screen reader users. | |||
| 2020-11-06 | Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly. | Hasan Ramezani | |
| This also replaces assertQuerysetEqual() to assertSequenceEqual()/assertCountEqual() where appropriate. Co-authored-by: Peter Inglesby <peter.inglesby@gmail.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2020-10-27 | Fixed #1891, Fixed #11707 -- Prevented duplicates with limit_choices_to on ↵ | alvinshaita | |
| multi-value relations. | |||
| 2020-09-25 | Refs #28009 -- Added empty_value tests for CharField subclasses. | David Smith | |
| 2020-07-30 | Bumped minimum isort version to 5.1.0. | David Smith | |
| Fixed inner imports per isort 5. isort 5.0.0 to 5.1.0 was unstable. | |||
| 2020-06-26 | Fixed test_clean_does_deduplicate_values on Oracle after ↵ | Mariusz Felisiak | |
| e13cfc6dfd4212ef7a40db1a41d3ae6ac4b97de0. | |||
| 2020-06-25 | Fixed #31596 -- Changed ForeignKey.validate() to use the base manager. | Jon Dufresne | |
| 2020-05-18 | Used assertIs(…, True) in model_forms.tests.ValidationTest. | Jon Dufresne | |
| 2020-04-28 | Changed django.forms.ValidationError imports to ↵ | François Freitag | |
| django.core.exceptions.ValidationError. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2020-02-05 | Fixed #26813 -- Prevented empty choice in ModelChoiceField with RadioSelect ↵ | Hasan Ramezani | |
| for fields with blank=False. | |||
| 2020-02-05 | Refs #26813 -- Added test for ModelChoiceField.choices when using ↵ | Mariusz Felisiak | |
| RadioSelect widget. | |||
| 2019-12-23 | Fixed #30998 -- Added ModelChoiceIteratorValue to pass the model instance to ↵ | Jon Dufresne | |
| ChoiceWidget.create_option(). | |||
