| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-05-11 | Fixed #36593 -- Deprecated QuerySet.select_related() with no arguments. | Adam Johnson | |
| This commit deprecates the "fetch all relations" form of `QuerySet.select_related()` due to its poor performance characteristics, and updates several tests relying on that feature to ignore the new warning. | |||
| 2026-05-11 | Refs #36593 -- Used explicit select_related() calls in tests. | Adam Johnson | |
| This commit prepares for the deprecation of select_related() without arguments by updating tests that used select_related() as a shorthand to explicitly specify the related fields to be selected. | |||
| 2025-10-16 | Refs #28586 -- Copied fetch modes to related objects. | Adam Johnson | |
| This change ensures that behavior and performance remain consistent when traversing relationships. | |||
| 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. | |||
| 2024-01-26 | Applied Black's 2024 stable style. | Mariusz Felisiak | |
| https://github.com/psf/black/releases/tag/24.1.0 | |||
| 2022-10-08 | Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to ↵ | Gregor Gärtner | |
| assertQuerySetEqual(). Co-Authored-By: Michael Howitz <mh@gocept.com> | |||
| 2022-09-30 | Fixed #33984 -- Reverted "Fixed #32980 -- Made models cache related managers." | Mariusz Felisiak | |
| This reverts 4f8c7fd9d91b35e2c2922de4bb50c8c8066cbbc6 and adds two regression tests: - test_related_manager_refresh(), and - test_create_copy_with_m2m(). Thanks joeli for the report. | |||
| 2022-04-07 | Fixed #33618 -- Fixed MTI updates outside of primary key chain. | Simon Charette | |
| 2022-02-24 | Refs #7488, Refs #19524 -- Removed obsolete ↵ | Albert Defler | |
| ModelInheritanceTest.test_issue_7488() test. Obsolete since e9c24bef74e55729b190cf07e0ac452aa4c86fcd. | |||
| 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 -- Reformatted code with Black. | django-bot | |
| 2021-11-08 | Fixed #32980 -- Made models cache related managers. | Keryn Knight | |
| 2020-04-30 | Removed unused __str__() methods in tests models. | Mariusz Felisiak | |
| Follow up to 6461583b6cc257d25880ef9a9fd7e2125ac53ce1. | |||
| 2020-01-15 | Fixed #29871 -- Allowed setting pk=None on a child model to create a copy. | chetan22 | |
| Thanks Simon Charette and Tim Graham for the initial patch. | |||
| 2018-03-16 | Fixed hanging indentation in various code. | Mariusz Felisiak | |
| 2017-06-26 | Fixed #26362 -- Fixed update of the inherited id field of an object when its ↵ | Paulo Alvarado | |
| parent changes. | |||
| 2017-05-19 | Fixed #28210 -- Fixed Model._state.adding on MTI parent model after saving ↵ | Tim Graham | |
| child model. Regression in 38575b007a722d6af510ea46d46393a4cda9ca29. | |||
| 2017-05-10 | Decreased max_length for char fields unless absolutely needed. (#8485) | Florian Apolloner | |
| 2017-05-05 | Fixed #28175 -- Fixed __in lookups on a foreign key when using the foreign ↵ | Tim Graham | |
| key's parent model as the lookup value. Thanks Simon Charette for review. | |||
| 2017-05-03 | Fixed #28166 -- Fixed Model._state.db on MTI parent model after saving child ↵ | Tim Graham | |
| model. Regression in 38575b007a722d6af510ea46d46393a4cda9ca29. | |||
| 2017-01-18 | Refs #23919 -- Removed python_2_unicode_compatible decorator usage | Claude Paroz | |
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2017-01-17 | Refs #26154 -- Removed deprecated CommaSeparatedIntegerField. | Tim Graham | |
| 2016-11-10 | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | |
| 2016-09-13 | Fixed #27203 -- Replaced assertQuerysetEqual(..., lambda o: o) with ↵ | Mads Jensen | |
| assertSequenceEqual(). | |||
| 2016-06-03 | Fixed #15250 -- Avoided extra query on some multi-table inheritance queries. | Paulo | |
| Thanks marekw2143 for the initial patch and carljm for support. | |||
| 2016-04-22 | Fixed #26320 -- Deprecated implicit OneToOnField parent_link. | Tim Graham | |
| 2016-01-29 | Refs #26022 -- Used context manager version of assertRaises in tests. | Hasan | |
| 2015-10-27 | Fixed #25550 -- Deprecated direct assignment to the reverse side of a ↵ | Tim Graham | |
| related set. | |||
| 2015-10-03 | Refs #15844 -- Added tests for multi-table inheritance related object ↵ | Tim Graham | |
| filtering efficiency. Fixed in 97774429aeb54df4c09895c07cd1b09e70201f7d. | |||
| 2015-08-15 | Refs #21554 -- Added some assertions to a model_inheritance_regress test. | Richard Mitchell | |
| 2015-07-27 | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | |
| ForeignKey/OneToOneField | |||
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2014-05-28 | Fixed several typos in Django | Alex Gaynor | |
| 2014-04-26 | Fix many many typos in comments throughout the codebase | Alex Gaynor | |
| 2014-04-21 | Further consolidated the model_inheritance tests. | Aymeric Augustin | |
| 2014-01-12 | Fixed #21413 -- resolve_columns fields misalignment | Anssi Kääriäinen | |
| 2013-12-14 | Fixed E127 pep8 warnings. | Loic Bistuer | |
| 2013-12-06 | Fixed #21554 -- Incorrect SQL generated when using multiple inheritance. | pegler | |
| 2013-11-02 | PEP8 | Jason Myers | |
| Signed-off-by: Jason Myers <jason@jasonamyers.com> | |||
| 2013-10-26 | Fix all violators of E231 | Alex Gaynor | |
| 2013-10-23 | Fixed #21298 -- Fixed E301 pep8 warnings | Alasdair Nicol | |
| 2013-10-23 | Fixed E225 pep8 warnings. | Tim Graham | |
| 2013-10-21 | Fixed #21288 -- Fixed E126 pep8 warnings | Alasdair Nicol | |
| 2013-10-19 | Removed unused local variables in tests. | Tim Graham | |
| 2013-08-15 | Fixed #20895 -- Made check management command warn if a BooleanField does ↵ | Alasdair Nicol | |
| not have a default value Thanks to Collin Anderson for the suggestion and Tim Graham for reviewing the patch. | |||
| 2013-08-13 | Fixed #20883 -- Made model inheritance find parent links in abstract parents | Loic Bistuer | |
| 2013-07-29 | Removed most of absolute_import imports | Claude Paroz | |
| Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way. | |||
| 2013-07-01 | Stopped using django.utils.unittest in the test suite. | Aymeric Augustin | |
| Refs #20680. | |||
| 2013-05-09 | Fixed #19733 - deprecated ModelForms without 'fields' or 'exclude', and ↵ | Luke Plant | |
| added '__all__' shortcut This also updates all dependent functionality, including modelform_factory and modelformset_factory, and the generic views `ModelFormMixin`, `CreateView` and `UpdateView` which gain a new `fields` attribute. | |||
