mirror of
https://github.com/django/django.git
synced 2025-08-19 02:01:29 +00:00
[1.9.x] Fixed many spelling mistakes in code, comments, and docs.
Backport of 93452a70e8
from master
This commit is contained in:
parent
519cfbb4e8
commit
8897f4b0df
61 changed files with 187 additions and 187 deletions
|
@ -224,7 +224,7 @@ class CheckStrictTransportSecurityTest(SimpleTestCase):
|
|||
@override_settings(
|
||||
MIDDLEWARE_CLASSES=[],
|
||||
SECURE_HSTS_SECONDS=0)
|
||||
def test_no_sts_no_middlware(self):
|
||||
def test_no_sts_no_middleware(self):
|
||||
"""
|
||||
Don't warn if SECURE_HSTS_SECONDS isn't > 0 and SecurityMiddleware isn't
|
||||
installed.
|
||||
|
@ -258,7 +258,7 @@ class CheckStrictTransportSecuritySubdomainsTest(SimpleTestCase):
|
|||
MIDDLEWARE_CLASSES=[],
|
||||
SECURE_HSTS_INCLUDE_SUBDOMAINS=False,
|
||||
SECURE_HSTS_SECONDS=3600)
|
||||
def test_no_sts_subdomains_no_middlware(self):
|
||||
def test_no_sts_subdomains_no_middleware(self):
|
||||
"""
|
||||
Don't warn if SecurityMiddleware isn't installed.
|
||||
"""
|
||||
|
@ -415,7 +415,7 @@ class CheckSSLRedirectTest(SimpleTestCase):
|
|||
@override_settings(
|
||||
MIDDLEWARE_CLASSES=[],
|
||||
SECURE_SSL_REDIRECT=False)
|
||||
def test_no_ssl_redirect_no_middlware(self):
|
||||
def test_no_ssl_redirect_no_middleware(self):
|
||||
"""
|
||||
Don't warn if SECURE_SSL_REDIRECT is False and SecurityMiddleware isn't
|
||||
installed.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue