summaryrefslogtreecommitdiff
path: root/django/core/checks
AgeCommit message (Collapse)Author
2018-12-24Fixed #20098 -- Added a check for model Meta.db_table collisions.Sanyam Khurana
2018-10-30Capitalized SecurityMiddleware headers for consistency with other headers.Artur Juraszek
(No behavior change since HTTP headers are case insensitive.)
2018-09-06Refs #29713 -- Improved error message from translation system check.Nick Pope
2018-09-03Fixed #29713 -- Added check that LANGUAGE_CODE uses standard language id format.David
2018-02-26Removed unnecessary setdefault() from CheckRegistry.register().Mariusz Felisiak
2018-01-12Fixed #28996 -- Simplified some boolean constructs and removed trivial ↵Дилян Палаузов
continue statements.
2017-12-28Removed unnecessary trailing commas and spaces in various code.Mariusz Felisiak
2017-09-20Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201.Sjoerd Job Postmus
Thanks Aymeric Augustin for shepherding the DEP and patch review. Thanks Marten Kenbeek and Tim Graham for contributing to the code. Thanks Tom Christie, Shai Berger, and Tim Graham for the docs.
2017-08-24Used sets for CheckRegistry.registered_checks and deployment_checks.Sergey Fedoseev
2017-08-21Removed need for hasattr(check, 'tags') in CheckRegistry.Sergey Fedoseev
It was needed to pass tests because registered checks weren't properly mocked.
2017-07-29Avoided creation of temporary sets.Sergey Fedoseev
2017-04-27Refs #27795 -- Replaced many force_text() with str()Claude Paroz
Thanks Tim Graham for the review.
2017-04-26Replaced temporary lists used for passing arguments with iterables.Jon Dufresne
2017-03-03Fixed #27887 -- Fixed URLs check crash with namespaced URLs inside ↵Tim Graham
non-namespaced URLs.
2017-02-24Fixed #27874 -- Fixed URL namespace warning (urls.W005) for nested namespaces.Chris Lamb
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-21Refs #23919 -- Removed misc references to Python 2.Tim Graham
2017-01-20Refs #23919 -- Removed unneeded force_str callsClaude Paroz
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed obsolete __ne__() methods.Aymeric Augustin
__ne__() defaults to the opposite of __eq__() on Python 3 when it doesn't return NotImplemented.
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
Thanks Tim Graham and Simon Charette for the reviews.
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
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
2017-01-17Refs #26601 -- Removed support for old-style middleware using ↵Tim Graham
settings.MIDDLEWARE_CLASSES.
2016-12-23Fixed #27626 -- Moved MEDIA_URL/STATIC_URL validation to a system check.Adam Chainz
2016-12-21Fixed #27612 -- Added a check for duplicate URL instance namespaces.Andrew Nester
2016-12-19Fixed #27611 -- Doc'd that CSRF_COOKIE_HTTPONLY setting offers no security.Tim Graham
2016-12-17Refs #16859 -- Disabled CSRF_COOKIE_* checks when using CSRF_USE_SESSIONS.Raphael Michel
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-10-05Fixed #27262 -- Moved URL checks to resolver and pattern classes.Lucas Lois
Thanks Sjoerd Job Postmus for the report and review.
2016-09-19Fixed #27238 -- Disabled check_pattern_startswith_slash if ↵Alasdair Nicol
settings.APPEND_SLASH=False. Thanks strycore for the report and timgraham for suggesting the solution.
2016-09-17Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.Tim Graham
http://bugs.python.org/issue27364
2016-09-01Clarified URL regex check message with respect to include().Riccardo Magliocchetti
2016-08-16Fixed crash comparing CheckMessage objects to non-CheckMessage objects.Adam Chainz
2016-08-10Refs #26947 -- Added a deployment system check for SECURE_HSTS_PRELOAD.Ed Morley
2016-05-19Fixed #26421 -- Refactored ModelSignal to use Apps.lazy_model_operation()Alex Hill
2016-05-19Refs #26421 -- Refactored Apps.lazy_model_operation() for better checks and ↵Alex Hill
tests
2016-05-17Refs #26601 -- Added a warning if both MIDDLEWARE AND MIDDLEWARE_CLASSES are ↵Tim Graham
set.
2016-05-17Fixed #26601 -- Improved middleware per DEP 0005.Florian Apolloner
Thanks Tim Graham for polishing the patch, updating the tests, and writing documentation. Thanks Carl Meyer for shepherding the DEP.
2016-05-04Replaced a 'raw' six importClaude Paroz
2016-04-30Fixed #26440 -- Added a warning for non-url()s in urlpatterns.Alasdair Nicol
Thanks Burhan Khalid for the initial patch and knbk/timgraham for review.
2016-04-08Refs #26351 -- Added check hook to support database-related checksClaude Paroz
Thanks Tim Graham and Shai Berger for the reviews.
2016-03-21Fixed #26365 -- Added a system check to ensure "string_is_invalid" is a string.Vincenzo Pandolfo
2016-02-12Removed unneeded hint=None/obj=None in system check messages.Tim Graham
2016-02-01Fixed #26155 -- Skipped URL checks if no ROOTURL_CONF setting.Buddy Lindsey, Jr
2016-01-06Fixed #25746 -- Isolated inlined test models registration.Simon Charette
Thanks to Tim for the review.
2015-12-31Fixed #26013 -- Moved django.core.urlresolvers to django.urls.Marten Kenbeek
Thanks to Tim Graham for the review.
2015-10-05Fixed #25500 -- Added --fail-level option to check command.Jon Dufresne
This option specifies the level that check command exits with a non-zero status. Default is ``ERROR``.