summaryrefslogtreecommitdiff
path: root/django/core/checks/__init__.py
AgeCommit message (Collapse)Author
2026-01-18Applied Black's 2026 stable style.Mariusz Felisiak
https://github.com/psf/black/releases/tag/26.1.0
2024-10-15Fixed #35656 -- Added an autodetector attribute to the makemigrations and ↵leondaz
migrate commands.
2022-07-26Refs #27236 -- Reverted "Refs #27236 -- Added generic mechanism to handle ↵Mariusz Felisiak
the deprecation of migration operations." This reverts commit 41019e48bbf082c985e6ba3bad34d118b903bff1.
2022-07-08Refs #27236 -- Added generic mechanism to handle the deprecation of ↵David Wobrock
migration operations.
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
2021-01-22Fixed #32360 -- Added system check for FILE_UPLOAD_TEMP_DIR setting.Timothy McCurrach
2020-04-01Fixed #31380 -- Added deployment system check for DJANGO_ALLOW_ASYNC_UNSAFE ↵hashlash
environment variable.
2018-09-03Fixed #29713 -- Added check that LANGUAGE_CODE uses standard language id format.David
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
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
2016-05-17Refs #26601 -- Added a warning if both MIDDLEWARE AND MIDDLEWARE_CLASSES are ↵Tim Graham
set.
2016-04-08Refs #26351 -- Added check hook to support database-related checksClaude Paroz
Thanks Tim Graham and Shai Berger for the reviews.
2015-09-21Fixed #23813 -- Added checks for common URL pattern errorsAlasdair Nicol
Thanks jwa and lamby for the suggestions, and timgraham and jarshwah for their reviews.
2015-09-18Fixed #25034 -- Converted caches ImproperlyConfigured error to a system check.Tom Christie
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-06-27Sorted imports in __init__.py files.Tim Graham
2015-06-06Fixed #24922 -- Added system check for templates settingSergei Maertens
If `'loaders'` is present in the `TEMPLATES` options together with `APP_DIRS` set to `True`, the template engine raises an exception. This conflict is now detected by the system check templates.E001.
2015-02-09Removed Django 1.7 MIDDLEWARE_CLASSES upgrade check.Tim Graham
2014-11-13Fixed #23765 -- Removed BooleanField default check which often yielded false ↵Tim Graham
positives.
2014-09-12Fixed #17101 -- Integrated django-secure and added check --deploy optionTim Graham
Thanks Carl Meyer for django-secure and for reviewing. Thanks also to Zach Borboa, Erik Romijn, Collin Anderson, and Jorge Carleitao for reviews.
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-05-15Harmonized some PEP 0263 coding preamblesClaude Paroz
2014-04-10Fixed #22195 -- Used constants to define built-in tags for check framework.Tim Graham
Thanks Elvard for the patch.
2014-02-12Reverting unapplied migrations check away from being a system-level check.Andrew Godwin
This reverts commit 0ac13eccebb3d879f79b31585b1e81f655067179.
2014-02-08Remove check_migrations from the runserver command and use the new checks ↵mlavin
framework to check for unapplied migrations. Don't check for migrations if the DATABASES setting is empty.
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-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.