| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 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-02-05 | Fixed #16281 -- Fixed ContentType.get_object_for_this_type() in a multiple ↵ | Ben Cail | |
| database setup. | |||
| 2023-03-09 | Fixed #33985 -- Used app_config.verbose_name in ContentType.__str__(). | Hrushikesh Vaidya | |
| 2023-02-01 | Refs #33476 -- Applied Black's 2023 stable style. | David Smith | |
| Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0 | |||
| 2022-10-08 | Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to ↵ | Gregor Gärtner | |
| assertQuerySetEqual(). Co-Authored-By: Michael Howitz <mh@gocept.com> | |||
| 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 | |
| 2021-07-05 | Fixed isolation of RouterTestCase.test_m2m_cross_database_protection(). | Mariusz Felisiak | |
| Hardcoded pks are necessary for this test case, however we need to set them for all new rows because the sequence will not increment automatically. It works when the sequence is incremented by other test cases. | |||
| 2020-01-20 | Refs #31117 -- Made various tests properly handle unexpected databases aliases. | Matthijs Kooijman | |
| - Used selected "databases" instead of django.db.connections. - Made routers in tests.migrations skip migrations on unexpected databases. - Added DiscoverRunnerGetDatabasesTests.assertSkippedDatabases() hook which properly asserts messages about skipped databases. | |||
| 2019-02-07 | Fixed #16027 -- Added app_label to ContentType.__str__(). | Gregory N. Schmit | |
| 2019-01-10 | Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in ↵ | Simon Charette | |
| favor of databases. | |||
| 2018-11-27 | Switched TestCase to SimpleTestCase where possible in Django's tests. | Tim Graham | |
| 2018-05-10 | Fixed #27629 -- Added router.allow_relation() calls for assignments between ↵ | Stefan R. Filipek | |
| unsaved model instances. | |||
| 2018-03-16 | Fixed hanging indentation in various code. | Mariusz Felisiak | |
| 2018-01-02 | Fixed #28974 -- Made refresh_from_db() hint routers about its instance. | Simon Charette | |
| 2017-07-31 | Removed a primary key value dependency in a multiple_database test. | Tim Graham | |
| Follow up to a51c4de1945be2225f20fad794cfb52d8f1f9236. | |||
| 2017-07-29 | Used assertRaisesMessage() to test Django's error messages. | Mads Jensen | |
| 2017-03-17 | Replaced type-specific assertions with assertEqual(). | Tim Graham | |
| Python docs say, "it's usually not necessary to invoke these methods directly." | |||
| 2017-01-28 | Refs #27790 -- Reverted "Removed available_apps on TestCase subclasses." | Tim Graham | |
| This reverts commit 91023d79ec70df9289271e63a67675ee51e7dea8 as it increases memory usage for the test suite. | |||
| 2017-01-19 | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | |
| 2017-01-18 | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2017-01-13 | Removed available_apps on TestCase subclasses. | Simon Charette | |
| TestCase subclasses are wrapped in a transaction that prevents any data from being persisted between test runs andi thus don't require limiting the tables to be flushed to a subset of available apps like TransactionTestCase subclasses do. | |||
| 2016-11-10 | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | |
| 2016-09-07 | Removed unused lines in multiple_database test. | Tim Graham | |
| 2016-06-28 | Replaced use of TestCase.fail() with assertRaises(). | Tim Graham | |
| Also removed try/except/fail antipattern that hides exceptions. | |||
| 2016-06-27 | Fixed #26784 -- Made ForeignKey.validate() pass `model` to router if ↵ | Ben Demboski | |
| model_instance=None. | |||
| 2016-06-16 | Fixed #26747 -- Used more specific assertions in the Django test suite. | Jon Dufresne | |
| 2016-04-08 | Fixed E128 flake8 warnings in tests/. | 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-09-23 | Refs #24351 -- Removed support for the old allow_migrate() signature per ↵ | Tim Graham | |
| deprecation timeline. | |||
| 2015-09-12 | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | |
| 2015-07-28 | Fixed #18556 -- Allowed RelatedManager.add() to execute 1 query where possible. | Tim Graham | |
| Thanks Loic Bistuer for review. | |||
| 2015-06-24 | Renamed RemovedInDjangoXYWarnings for new roadmap. | Tim Graham | |
| Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more. | |||
| 2015-05-20 | Refs #24652 -- Used SimpleTestCase where appropriate. | Simon Charette | |
| 2015-04-28 | Fixed #24714 -- Used more specific assertions than assertEqual in tests. | Alasdair Nicol | |
| 2015-02-21 | Fixed allow_migrate signature in one of the tests. | Loic Bistuer | |
| Refs #24351. | |||
| 2015-02-20 | Fixed #24351, #24346 -- Changed the signature of allow_migrate(). | Loic Bistuer | |
| The new signature enables better support for routing RunPython and RunSQL operations, especially w.r.t. reusable and third-party apps. This commit also takes advantage of the deprecation cycle for the old signature to remove the backward incompatibility introduced in #22583; RunPython and RunSQL won't call allow_migrate() when when the router has the old signature. Thanks Aymeric Augustin and Tim Graham for helping shape up the patch. Refs 22583. | |||
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-01-17 | Removed support for initial_data fixtures per deprecation timeline. | Tim Graham | |
| 2014-12-01 | Removed an incorrect docstring in tests/multiple_database/tests.py. | wrwrwr | |
| 2014-12-01 | Removed a no-op statement in tests/multiple_database/tests.py. | wrwrwr | |
| 2014-12-01 | Replaced router.routers usage with override_settings(DATABASE_ROUTERS); refs ↵ | wrwrwr | |
| #23933. | |||
| 2014-11-28 | Fixed #901 -- Added Model.refresh_from_db() method | Anssi Kääriäinen | |
| Thanks to github aliases dbrgn, carljm, slurms, dfunckt, and timgraham for reviews. | |||
| 2014-11-03 | Fixed #23620 -- Used more specific assertions in the Django test suite. | Berker Peksag | |
| 2014-06-05 | Fixed #10811 -- Made assigning unsaved objects to FK, O2O, and GFK raise ↵ | Anubhav Joshi | |
| ValueError. This prevents silent data loss. Thanks Aymeric Augustin for the initial patch and Loic Bistuer for the review. | |||
| 2014-05-28 | Fixed several typos in Django | Alex Gaynor | |
| 2014-05-22 | Fixed #22667 -- Replaced leader/follower terminology with primary/replica | Flavio Curella | |
