Tim Graham
|
b23d264046
|
Fixed #27887 -- Fixed URLs check crash with namespaced URLs inside non-namespaced URLs.
|
2017-03-03 10:52:20 -05:00 |
|
Chris Lamb
|
8d4885ede5
|
Fixed #27874 -- Fixed URL namespace warning (urls.W005) for nested namespaces.
|
2017-02-24 10:13:48 -05:00 |
|
Tim Graham
|
ab83d4d8fe
|
Added multi_db=True to test cases that access the 'other' db connection.
Fixed a failure in the context processors tests when running in
reverse on MySQL due to an extra query after refs #27683.
|
2017-02-10 08:19:32 -05:00 |
|
chillaranand
|
d6eaf7c018
|
Refs #23919 -- Replaced super(ClassName, self) with super().
|
2017-01-25 12:23:46 -05:00 |
|
Claude Paroz
|
2366100872
|
Removed unneeded force_text calls in the test suite
|
2017-01-24 18:45:54 +01:00 |
|
Tim Graham
|
7aba69145d
|
Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.
|
2017-01-20 08:17:20 -05:00 |
|
Simon Charette
|
cecc079168
|
Refs #23919 -- Stopped inheriting from object to define new style classes.
|
2017-01-19 08:39:46 +01:00 |
|
Claude Paroz
|
2b281cc35e
|
Refs #23919 -- Removed most of remaining six usage
Thanks Tim Graham for the review.
|
2017-01-18 21:33:28 +01:00 |
|
Claude Paroz
|
d7b9aaa366
|
Refs #23919 -- Removed encoding preambles and future imports
|
2017-01-18 09:55:19 +01:00 |
|
Tim Graham
|
6192bffb13
|
Refs #26601 -- Removed obsolete system check for MIDDLEWARE_CLASSES setting.
|
2017-01-17 20:52:05 -05:00 |
|
Tim Graham
|
98760ab0b2
|
Refs #25079 -- Removed obsolete system check for TEMPLATE_* settings.
|
2017-01-17 20:52:05 -05:00 |
|
Tim Graham
|
d334f46b7a
|
Refs #26601 -- Removed support for old-style middleware using settings.MIDDLEWARE_CLASSES.
|
2017-01-17 20:52:04 -05:00 |
|
Adam Chainz
|
5eff8a7783
|
Fixed #25415 -- Made DiscoverRunner run system checks.
|
2016-12-29 12:33:24 -05:00 |
|
Adam Chainz
|
8669cf0e68
|
Fixed #27626 -- Moved MEDIA_URL/STATIC_URL validation to a system check.
|
2016-12-23 10:55:00 -05:00 |
|
Tim Graham
|
a04e795667
|
Wrapped an import per isort.
|
2016-12-21 17:05:59 -05:00 |
|
Andrew Nester
|
24fa728a47
|
Fixed #27612 -- Added a check for duplicate URL instance namespaces.
|
2016-12-21 16:54:15 -05:00 |
|
Tim Graham
|
c27104a9c7
|
Fixed #27611 -- Doc'd that CSRF_COOKIE_HTTPONLY setting offers no security.
|
2016-12-19 17:56:58 -05:00 |
|
Raphael Michel
|
33e86b3488
|
Refs #16859 -- Disabled CSRF_COOKIE_* checks when using CSRF_USE_SESSIONS.
|
2016-12-17 09:59:48 -05:00 |
|
Tim Graham
|
b5f0b3478d
|
Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase.
|
2016-12-07 17:42:31 -05:00 |
|
Ramin Farajpour Cami
|
967be82443
|
Fixed E305 flake8 warnings.
|
2016-11-14 12:30:46 -05:00 |
|
Alasdair Nicol
|
911d9f4ed1
|
Fixed #27238 -- Disabled check_pattern_startswith_slash if settings.APPEND_SLASH=False.
Thanks strycore for the report and timgraham for suggesting the
solution.
|
2016-09-19 21:00:12 -04:00 |
|
Riccardo Magliocchetti
|
7ed8b98f42
|
Clarified URL regex check message with respect to include().
|
2016-09-01 14:06:45 -04:00 |
|
Adam Chainz
|
19e20a2a3f
|
Fixed crash comparing CheckMessage objects to non-CheckMessage objects.
|
2016-08-16 17:17:34 -04:00 |
|
Adam Chainz
|
68b580323b
|
Added tests for check Message equality.
|
2016-08-16 17:04:13 -04:00 |
|
Ed Morley
|
7399fee6c3
|
Refs #26947 -- Added a deployment system check for SECURE_HSTS_PRELOAD.
|
2016-08-10 20:31:01 -04:00 |
|
Tim Graham
|
c9ae09addf
|
Replaced use of TestCase.fail() with assertRaises().
Also removed try/except/fail antipattern that hides exceptions.
|
2016-06-28 11:21:26 -04:00 |
|
Jon Dufresne
|
4f336f6652
|
Fixed #26747 -- Used more specific assertions in the Django test suite.
|
2016-06-16 14:19:18 -04:00 |
|
Ville Skyttä
|
fa654da613
|
Removed usage of a few deprecated unittest assertions.
|
2016-06-14 09:03:12 -04:00 |
|
Tim Graham
|
354acd04af
|
Refs #26601 -- Added a warning if both MIDDLEWARE AND MIDDLEWARE_CLASSES are set.
|
2016-05-17 07:24:45 -04:00 |
|
Florian Apolloner
|
9baf692a58
|
Fixed #26601 -- Improved middleware per DEP 0005.
Thanks Tim Graham for polishing the patch, updating the tests, and
writing documentation. Thanks Carl Meyer for shepherding the DEP.
|
2016-05-17 07:22:22 -04:00 |
|
Alasdair Nicol
|
eb5d7bc2f4
|
Fixed #26440 -- Added a warning for non-url()s in urlpatterns.
Thanks Burhan Khalid for the initial patch and knbk/timgraham
for review.
|
2016-04-30 20:09:31 -04:00 |
|
Alasdair Nicol
|
ffb1c532ec
|
Added an explicit test that URL checks are recursive.
|
2016-04-29 07:38:57 -04:00 |
|
Claude Paroz
|
f9a2a7db17
|
Fixed #26351 -- Added MySQL check to warn about strict mode option
Thanks Adam Chainz for the initial implementation in django-mysql.
Thanks Adam Chainz, Tim Graham, and Shai Berger for the reviews.
|
2016-04-08 20:34:16 +02:00 |
|
Claude Paroz
|
0d3c616fbb
|
Refs #26351 -- Added check hook to support database-related checks
Thanks Tim Graham and Shai Berger for the reviews.
|
2016-04-08 20:28:00 +02:00 |
|
Vincenzo Pandolfo
|
abf07355aa
|
Fixed #26365 -- Added a system check to ensure "string_is_invalid" is a string.
|
2016-03-21 13:01:38 -04:00 |
|
Tim Graham
|
004ba0f99e
|
Removed unneeded hint=None/obj=None in system check messages.
|
2016-02-12 13:01:25 -05:00 |
|
Markus Holtermann
|
18afd50a2b
|
Updated allow_migrate() signature in check framework tests
|
2016-02-12 14:31:27 +11:00 |
|
Buddy Lindsey, Jr
|
731bdfe68a
|
Fixed #26155 -- Skipped URL checks if no ROOTURL_CONF setting.
|
2016-02-01 13:51:38 -05:00 |
|
Hasan
|
3d0dcd7f5a
|
Refs #26022 -- Used context manager version of assertRaises in tests.
|
2016-01-29 12:32:18 -05:00 |
|
Simon Charette
|
a08fda2111
|
Fixed #25746 -- Isolated inlined test models registration.
Thanks to Tim for the review.
|
2016-01-06 20:00:07 -05:00 |
|
Josh Soref
|
93452a70e8
|
Fixed many spelling mistakes in code, comments, and docs.
|
2015-12-03 12:48:24 -05:00 |
|
Jon Dufresne
|
2875325889
|
Fixed #25500 -- Added --fail-level option to check command.
This option specifies the level that check command exits with a
non-zero status. Default is ``ERROR``.
|
2015-10-05 17:11:40 -04:00 |
|
Alasdair Nicol
|
f2975c021d
|
Refs #23813 -- Moved URLconfs into module and tidied docstrings.
|
2015-09-21 20:10:33 -04:00 |
|
Alasdair Nicol
|
fe3fc5210f
|
Fixed #23813 -- Added checks for common URL pattern errors
Thanks jwa and lamby for the suggestions, and timgraham and jarshwah
for their reviews.
|
2015-09-21 23:46:21 +10:00 |
|
Alasdair Nicol
|
15ce1a735c
|
Used more specific assertion in check_framework tests.
|
2015-09-19 18:35:05 -04:00 |
|
Tom Christie
|
b02f08e02c
|
Fixed #25034 -- Converted caches ImproperlyConfigured error to a system check.
|
2015-09-18 07:44:39 -04:00 |
|
Tim Graham
|
01b2b0b654
|
Fixed #25318 -- Made SILENCED_SYSTEM_CHECKS suppress all messages.
Previously, messages of ERROR level or higher were printed to
the console.
|
2015-08-28 13:34:56 -04:00 |
|
Ion Scerbatiuc
|
0cc059cd10
|
Fixed #25172 -- Fixed check framework to work with multiple databases.
|
2015-08-12 18:00:26 -04:00 |
|
Flavio Curella
|
c2e70f0265
|
Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField
|
2015-07-27 18:28:13 -04:00 |
|
rroskam
|
ed514caed2
|
Fixed #24966 -- Added deployment system check for empty ALLOWED_HOSTS.
|
2015-07-15 09:18:58 -04:00 |
|