summaryrefslogtreecommitdiff
path: root/django/core/checks/compatibility
AgeCommit message (Collapse)Author
2025-10-13Replaced multi-level relative imports with absolute imports in django/.lyova24
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-03-18Refs #16010 -- Required CSRF_TRUSTED_ORIGINS setting to include the scheme.Tim Graham
2017-01-17Refs #26601 -- Removed obsolete system check for MIDDLEWARE_CLASSES setting.Tim Graham
2017-01-17Refs #25079 -- Removed obsolete system check for TEMPLATE_* settings.Tim Graham
2017-01-17Refs #26601 -- Removed support for old-style middleware using ↵Tim Graham
settings.MIDDLEWARE_CLASSES.
2016-05-17Refs #26601 -- Added a warning if both MIDDLEWARE AND MIDDLEWARE_CLASSES are ↵Tim Graham
set.
2015-09-23Removed deprecated TEMPLATE_* settings per deprecation timeline.Tim Graham
2015-09-23Refs #24022 -- Removed the ssi tag per deprecation timeline.Tim Graham
2015-07-13Fixed #25079 -- Added warning if both TEMPLATES and TEMPLATE_* settings are ↵Daniel Roseman
defined. Django ignores the value of the TEMPLATE_* settings if TEMPLATES is also set, which is confusing for users following older tutorials. This change adds a system check that warns if any of the TEMPLATE_* settings have changed from their defaults but the TEMPLATES dict is also non-empty. Removed the TEMPLATE_DIRS from the test settings file; this was marked for removal in 1.10 but no tests fail if it is removed now.
2015-02-09Removed Django 1.7 MIDDLEWARE_CLASSES upgrade check.Tim Graham
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-11-13Fixed #23765 -- Removed BooleanField default check which often yielded false ↵Tim Graham
positives.
2014-10-17Fixed #23469 -- Removed test runner compatibility check which often yielded ↵Tim Graham
false positives.
2014-06-29Add missing spaces to implicitly joined stringsIan Foote
2014-06-13Fixed #22477 -- Removed contrib middleware from the global settings defaults.mlavin
Also added a compatibility check for changed middleware defaults. Forwardport of d94de802d3 from stable/1.7.x
2014-04-17Fixed #22454 - Changed compatibility warning hintMoayad Mardini
The warning hint of `_check_test_runner` of 1.6 compatibility had a link to a general release note. The link should be edited to refer the relevant "Backwards incompatible changes in 1.6" section that documents the cause and the possible solutions and workarounds of the warning.
2014-04-10Fixed #22195 -- Used constants to define built-in tags for check framework.Tim Graham
Thanks Elvard for the patch.
2014-03-03Added backwards compatibliity checks to reference documentation.Russell Keith-Magee
2014-02-15Fixed two typos.Rodolfo Carvalho
2014-01-20Fixed #16905 -- Added extensible checks (nee validation) frameworkRussell Keith-Magee
This is the result of Christopher Medrela's 2013 Summer of Code project. Thanks also to Preston Holmes, Tim Graham, Anssi Kääriäinen, Florian Apolloner, and Alex Gaynor for review notes along the way. Also: Fixes #8579, fixes #3055, fixes #19844.
2013-12-24Renamed AppCache to Apps.Aymeric Augustin
Also renamed app_cache to apps and "app cache" to "app registry". Deprecated AppCache.app_cache_ready() in favor of Apps.ready().
2013-12-22Moved apps back in the toplevel django namespace.Aymeric Augustin
Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2.
2013-12-17Moved the new app cache inside core.Aymeric Augustin
2013-12-17Removed module-level functions for the app cache.Aymeric Augustin
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.
2013-11-02More attacking E302 violatorsAlex Gaynor
2013-10-08Refs #21197 -- Clarified upgrade check message.Russell Keith-Magee
Thanks to Carl and Shai for the discussion.
2013-08-15Fixed #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-06-25Fixed #20653 -- Renamed checksetup management command.Russell Keith-Magee
This is to allow future compatibility with work that is ongoing in the 2013 GSoC.