summaryrefslogtreecommitdiff
path: root/tests/check_framework
AgeCommit message (Collapse)Author
2020-03-03Refs #31331 -- Added DatabaseWrapper.sql_mode to MySQL.Mariusz Felisiak
2020-02-24Fixed #31286 -- Made database specific fields checks databases aware.Taoup
Follow up to 0b83c8cc4db95812f1e15ca19d78614e94cf38dd.
2020-02-07Refs #31055 -- Added --database option to the check management command.Simon Charette
This avoids enabling the ``database`` checks unless they are explicitly requested and allows to disable on a per-alias basis which is required when only creating a subset of the test databases. This also removes unnecessary BaseCommand._run_checks() hook.
2020-01-08Fixed #31141 -- Relaxed system check of translation settings for sublanguages.Mariusz Felisiak
Regression in 4400d8296d268f5a8523cd02ddc33b12219b2535. Thanks Enrique Matías Sánchez for the report.
2019-09-09Fixed #29406 -- Added support for Referrer-Policy header.Nick Pope
Thanks to James Bennett for the initial implementation.
2019-08-08Fixed #30673 -- Relaxed system check for db_table collision when database ↵Adnan Umer
routers are installed by turning the error into a warning.
2019-08-05Fixed #30680 -- Removed obsolete system check for SECURE_BROWSER_XSS_FILTER ↵Adnan Umer
setting.
2019-07-08Fixed #30397 -- Added app_label/class interpolation for names of indexes and ↵can
constraints.
2019-05-02Fixed #30396 -- Added system checks for uniqueness of indexes and ↵can
constraints names. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2019-04-25Fixed #30318 -- Added check for importability of arguments of custom error ↵Alasdair Nicol
handler views. Thanks to Jon on Stack Overflow for reporting the issue.
2019-04-24Refs #30241 -- Fixed BytesWarning emitted in test_translation tests.Jon Dufresne
2019-04-24Fixes #30342 -- Removed a system check for LANGUAGES_BIDI setting.Matthias Kestenholz
This partly reverts commit 4400d8296d268f5a8523cd02ddc33b12219b2535.
2019-03-28Fixed #30241 -- Added more system checks of translation settings.Nick Pope
2019-03-28Refs #29713 -- Improved error message when LANGUAGE_CODE is invalid.Nick Pope
2019-03-09Fixed typo in tests/check_framework/test_translation.py comment.Nick Pope
2019-01-10Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in ↵Simon Charette
favor of databases.
2018-12-31Updated test URL patterns to use path() and re_path().Tim Graham
2018-12-24Fixed #20098 -- Added a check for model Meta.db_table collisions.Sanyam Khurana
2018-11-27Switched TestCase to SimpleTestCase where possible in Django's tests.Tim Graham
2018-09-14Fixed #29642 -- Added check for arguments of custom error handler views.Adam Johnson
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-03-16Fixed hanging indentation in various code.Mariusz Felisiak
2017-12-28Removed unnecessary trailing commas and spaces in various code.Mariusz Felisiak
2017-11-14Fixed invalid escape sequence warning in check_framework test.Tim Graham
2017-11-07Fixed #28663 -- Add a check for likely incorrectly migrated ↵Chris Lamb
django.urls.path() routes.
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-09-20Added a checks test for valid i18n patterns.Tim Graham
2017-07-29Used assertRaisesMessage() to test Django's error messages.Mads Jensen
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-02-10Added multi_db=True to test cases that access the 'other' db connection.Tim Graham
Fixed a failure in the context processors tests when running in reverse on MySQL due to an extra query after refs #27683.
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-24Removed unneeded force_text calls in the test suiteClaude Paroz
2017-01-20Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.Tim Graham
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
Thanks Tim Graham for the review.
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-29Fixed #25415 -- Made DiscoverRunner run system checks.Adam Chainz
2016-12-23Fixed #27626 -- Moved MEDIA_URL/STATIC_URL validation to a system check.Adam Chainz
2016-12-21Wrapped an import per isort.Tim Graham
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-12-07Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase.Tim Graham
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
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.