mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed many spelling mistakes in code, comments, and docs.
This commit is contained in:
@@ -392,7 +392,7 @@ class CsrfViewMiddlewareTest(SimpleTestCase):
|
||||
def test_https_csrf_wildcard_trusted_origin_allowed(self):
|
||||
"""
|
||||
A POST HTTPS request with a referer that matches a CSRF_TRUSTED_ORIGINS
|
||||
wilcard is accepted.
|
||||
wildcard is accepted.
|
||||
"""
|
||||
req = self._get_POST_request_with_token()
|
||||
req._is_secure_override = True
|
||||
|
||||
Reference in New Issue
Block a user