| 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. | |||
| 2023-06-30 | Fixed #34687 -- Made Apps.clear_cache() clear get_swappable_settings_name() ↵ | sobolevn | |
| cache. | |||
| 2023-01-18 | Refs #34233 -- Used @functools.cache. | Nick Pope | |
| Python 3.9+ supports @functools.cache as an alias for @functools.lru_cache(maxsize=None). | |||
| 2023-01-18 | Refs #34233 -- Used str.removeprefix()/removesuffix(). | Mariusz Felisiak | |
| 2022-03-08 | Rewrote some references to "master". | Adam Johnson | |
| Following d9a266d657f66b8c4fa068408002a4e3709ee669. | |||
| 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-12-17 | Fixed #33366 -- Fixed case handling with swappable setting detection in ↵ | Simon Charette | |
| migrations autodetector. The migration framework uniquely identifies models by case insensitive labels composed of their app label and model names and so does the app registry in most of its methods (e.g. AppConfig.get_model) but it wasn't the case for get_swappable_settings_name() until this change. This likely slipped under the radar for so long and only regressed in b9df2b74b98b4d63933e8061d3cfc1f6f39eb747 because prior to the changes related to the usage of model states instead of rendered models in the auto-detector the exact value settings value was never going through a case folding hoop. Thanks Andrew Chen Wang for the report and Keryn Knight for the investigation. | |||
| 2021-09-20 | Refs #31180 -- Removed default_app_config application configuration variable ↵ | Mariusz Felisiak | |
| per deprecation timeline. | |||
| 2021-03-26 | Refs #32355 -- Corrected comments about Python's _NamespacePath. | William Schwartz | |
| _NamespacePath supports indexing in Python 3.8+. | |||
| 2020-12-22 | Fixed #32285 -- Raised ImproperlyConfigured when AppConfig.label is not a ↵ | Hasan Ramezani | |
| valid Python identifier. | |||
| 2020-12-15 | Fixed #31007 -- Allowed specifying type of auto-created primary keys. | Tom Forbes | |
| This also changes the default type of auto-created primary keys for new apps and projects to BigAutoField. | |||
| 2020-08-10 | Fixed #31870 -- Fixed crash when populating app registry with empty or ↵ | Iuri de Silvio | |
| without apps module. Regression in 3f2821af6bc48fa8e7970c1ce27bc54c3172545e. | |||
| 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-07-21 | Fixed #31180 -- Configured applications automatically. | Aymeric Augustin | |
| 2020-04-27 | Removed unnecessary tuple wrapping of single format string argument. | François Freitag | |
| 2019-02-06 | Fixed #30159 -- Removed unneeded use of OrderedDict. | Nick Pope | |
| Dicts preserve order since Python 3.6. | |||
| 2019-01-13 | Fixed #27685 -- Added watchman support to the autoreloader. | Tom Forbes | |
| Removed support for pyinotify (refs #9722). | |||
| 2018-09-28 | Refs #28909 -- Simplifed code using unpacking generalizations. | Sergey Fedoseev | |
| 2018-09-26 | Fixed #29768 -- Improved error message when an AppConfig has a typo in ↵ | Marten Kenbeek | |
| INSTALLED_APPS. | |||
| 2018-09-25 | Removed unneeded list() calls in list.extend() argument. | Sergey Fedoseev | |
| 2018-09-25 | Normalized spelling of "lowercase" and "lowercased". | Jon Dufresne | |
| 2018-05-13 | Fixed #17379 -- Removed management commands deactivation of the locale. | Claude Paroz | |
| 2017-06-01 | Refs #23968 -- Removed unnecessary lists, generators, and tuple calls. | Jon Dufresne | |
| 2017-03-04 | Refs #27656 -- Updated remaining docstring verbs according to PEP 257. | Anton Samarchyan | |
| 2017-02-25 | Fixed #27176 -- Raised an exception for reentrant calls to apps.populate(). | François Freitag | |
| Thanks to Aymeric Augustin, Harry Percival, and Tim Graham. | |||
| 2017-01-25 | Refs #23919 -- Removed misc Python 2/3 references. | Tim Graham | |
| 2017-01-21 | Refs #23919 -- Removed misc references to Python 2. | Tim Graham | |
| 2017-01-20 | Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage. | Tim Graham | |
| These functions do nothing on Python 3. | |||
| 2017-01-19 | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | |
| 2017-01-18 | Refs #23919 -- Stopped using django.utils.lru_cache(). | Aymeric Augustin | |
| 2016-11-20 | Refs #26207 -- Removed obsolete comments about deferred model classes. | Adam Chainz | |
| 2016-11-14 | Fixed E305 flake8 warnings. | Ramin Farajpour Cami | |
| 2016-10-28 | Added require_ready argument to get_model methods. | Aymeric Augustin | |
| This allows bringing back the behavior of Django < 1.7. Also fixed the check for the app registry being ready in AppConfig.get_model(s), which was inconsistent with the equivalent check in Apps.get_model(s). That part is a backwards-incompatible change. | |||
| 2016-10-28 | Simplified AppConfig.import_models(). | Aymeric Augustin | |
| Since AppConfig now has a reference to its parent Apps registry, it can look up the models there instead of receiving them in argument. | |||
| 2016-10-28 | Modified readiness check in AppConfig.get_model(s). | Aymeric Augustin | |
| It was inconsistent with the equivalent check in Apps.get_model(s) because I made incorrect assumptions when I wrote that code and needlessly complicated readiness checks. This is a backwards-incompatible change. | |||
| 2016-06-02 | Fixed #26616 -- Improved error message when AppConfig.name is invalid. | inondle | |
| 2016-05-19 | Refs #26421 -- Refactored Apps.lazy_model_operation() for better checks and ↵ | Alex Hill | |
| tests | |||
| 2016-04-29 | Fixed #26207 -- Replaced dynamic classes with non-data descriptors for ↵ | Anssi Kääriäinen | |
| deferred instance loading. | |||
| 2016-04-08 | Fixed E128 flake8 warnings in django/. | Tim Graham | |
| 2015-09-17 | Refs #24215 -- Fixed Python 3.5 compatiblity for unhandled lazy ops error. | Tim Graham | |
| 2015-09-02 | Fixed #25246 -- Guarded against duplicate paths in AppConfig. | Caio Ariede | |
| 2015-08-27 | Fixed #24590 -- Cached calls to swappable_setting. | Markus Holtermann | |
| Moved the lookup in Field.swappable_setting to Apps, and added an lru_cache to cache the results. Refs #24743 Thanks Marten Kenbeek for the initial work on the patch. Thanks Aymeric Augustin and Tim Graham for the review. | |||
| 2015-06-30 | Refs #23621 -- Fixed warning message when reloading models. | Marten Kenbeek | |
| 2015-06-27 | Sorted imports in __init__.py files. | Tim Graham | |
| 2015-06-18 | Removed support for Python 3.3. | Tim Graham | |
| 2015-05-22 | Fixed #24776 -- Improved apps.get_app_config() error message on ↵ | Peter Inglesby | |
| fully-qualified package names. | |||
| 2015-03-25 | Fixed #24215 -- Refactored lazy model operations | Alex Hill | |
| This adds a new method, Apps.lazy_model_operation(), and a helper function, lazy_related_operation(), which together supersede add_lazy_relation() and make lazy model operations the responsibility of the App registry. This system no longer uses the class_prepared signal. | |||
| 2015-03-08 | Fixed #24397 -- Sped up rendering multiple model states. | Marten Kenbeek | |
| Set apps.ready to False when rendering multiple models. This prevents that the cache on Model._meta is expired on all models after each time a single model is rendered. Prevented that Apps.clear_cache() refills the cache on Apps.get_models(), so that the wrong value cannot be cached when cloning a StateApps. | |||
| 2015-02-08 | Added check_apps_ready() to Apps.get_containing_app_config() | Tim Graham | |
