Kaydet (Commit) 43d7566c authored tarafından Tim Graham's avatar Tim Graham

[1.7.x] Added spaces to message from 4c39c270.

Backport of add78c58 from master
üst 9f3c6912
...@@ -167,10 +167,10 @@ class Django_1_7_0_CompatibilityChecks(TestCase): ...@@ -167,10 +167,10 @@ class Django_1_7_0_CompatibilityChecks(TestCase):
expected = [ expected = [
checks.Warning( checks.Warning(
"MIDDLEWARE_CLASSES is not set.", "MIDDLEWARE_CLASSES is not set.",
hint=("Django 1.7 changed the global defaults for the MIDDLEWARE_CLASSES." hint=("Django 1.7 changed the global defaults for the MIDDLEWARE_CLASSES. "
"django.contrib.sessions.middleware.SessionMiddleware, " "django.contrib.sessions.middleware.SessionMiddleware, "
"django.contrib.auth.middleware.AuthenticationMiddleware, and " "django.contrib.auth.middleware.AuthenticationMiddleware, and "
"django.contrib.messages.middleware.MessageMiddleware were removed from the defaults." "django.contrib.messages.middleware.MessageMiddleware were removed from the defaults. "
"If your project needs these middleware then you should configure this setting."), "If your project needs these middleware then you should configure this setting."),
obj=None, obj=None,
id='1_7.W001', id='1_7.W001',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment