Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #33476 -- Applied Black's 2023 stable style. | David Smith | 2023-02-01 | 1 | -1/+0 |
| | | | | | | | | 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 | ||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 2 | -19/+20 |
| | |||||
* | Disabled management commands output with verbosity 0 in various tests. | François Freitag | 2020-05-13 | 1 | -4/+1 |
| | |||||
* | Refs #27790 -- Reverted "Removed available_apps on TestCase subclasses." | Tim Graham | 2017-01-28 | 1 | -0/+7 |
| | | | | | This reverts commit 91023d79ec70df9289271e63a67675ee51e7dea8 as it increases memory usage for the test suite. | ||||
* | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | 2017-01-18 | 1 | -2/+3 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | 2017-01-18 | 1 | -2/+0 |
| | |||||
* | Removed available_apps on TestCase subclasses. | Simon Charette | 2017-01-13 | 1 | -6/+0 |
| | | | | | | | 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. | ||||
* | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | 2016-11-10 | 1 | -2/+2 |
| | |||||
* | Replaced use of TestCase.fail() with assertRaises(). | Tim Graham | 2016-06-28 | 1 | -5/+1 |
| | | | Also removed try/except/fail antipattern that hides exceptions. | ||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -3/+2 |
| | |||||
* | Removed support for initial_data fixtures per deprecation timeline. | Tim Graham | 2015-01-17 | 1 | -1/+1 |
| | |||||
* | Added a missing import and removed an unneeded import | Alex Gaynor | 2013-12-24 | 1 | -1/+0 |
| | |||||
* | Renamed AppCache to Apps. | Aymeric Augustin | 2013-12-24 | 1 | -1/+1 |
| | | | | | | Also renamed app_cache to apps and "app cache" to "app registry". Deprecated AppCache.app_cache_ready() in favor of Apps.ready(). | ||||
* | Replaced ad-hoc caching of get_models with lru_cache. | Aymeric Augustin | 2013-12-24 | 1 | -10/+0 |
| | | | | | Invalidate properly the cache whenever all_models or app_configs change. This fixes some isolation issues in the test suite. | ||||
* | Imported override_settings from its new location. | Aymeric Augustin | 2013-12-23 | 1 | -2/+1 |
| | |||||
* | Moved apps back in the toplevel django namespace. | Aymeric Augustin | 2013-12-22 | 1 | -1/+1 |
| | | | | Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2. | ||||
* | Moved the new app cache inside core. | Aymeric Augustin | 2013-12-17 | 1 | -1/+1 |
| | |||||
* | Removed module-level functions for the app cache. | Aymeric Augustin | 2013-12-17 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | Since the original ones in django.db.models.loading were kept only for backwards compatibility, there's no need to recreate them. However, many internals of Django still relied on them. They were also imported in django.db.models. They never appear in the documentation, except a quick mention of get_models and get_app in the 1.2 release notes to document an edge case in GIS. I don't think that makes them a public API. This commit doesn't change the overall amount of global state but clarifies that it's tied to the app_cache object instead of hiding it behind half a dozen functions. | ||||
* | Moved django.db.models.loading to django.apps.cache. | Aymeric Augustin | 2013-12-17 | 1 | -1/+1 |
| | | | | This commit doesn't contain any code changes; it's purely a refactoring. | ||||
* | Fixed assorted flake8 errors. | Tim Graham | 2013-10-11 | 1 | -2/+2 |
| | |||||
* | Updated syncdb -> migrate in tests. | Tim Graham | 2013-09-03 | 1 | -2/+2 |
| | |||||
* | Removed most of absolute_import imports | Claude Paroz | 2013-07-29 | 1 | -1/+1 |
| | | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way. | ||||
* | Fixed #20603 -- Made the test suite faster. | Aymeric Augustin | 2013-06-14 | 1 | -0/+7 |
| | | | | | | By avoiding to run syncdb with the full set of test models. Thanks Anssi for the idea. | ||||
* | Renamed some tests and removed references to modeltests/regressiontests. | Florian Apolloner | 2013-02-26 | 1 | -1/+1 |
| | |||||
* | Merged regressiontests and modeltests into the test root. | Florian Apolloner | 2013-02-26 | 3 | -0/+73 |