mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed many spelling mistakes in code, comments, and docs.
This commit is contained in:
parent
b6dd0afead
commit
93452a70e8
61 changed files with 187 additions and 187 deletions
|
@ -197,7 +197,7 @@ class CommonMiddlewareTest(SimpleTestCase):
|
|||
response = HttpResponseNotFound()
|
||||
r = CommonMiddleware().process_response(request, response)
|
||||
self.assertIsNotNone(r,
|
||||
"CommonMiddlware failed to return APPEND_SLASH redirect using request.urlconf")
|
||||
"CommonMiddleware failed to return APPEND_SLASH redirect using request.urlconf")
|
||||
self.assertEqual(r.status_code, 301)
|
||||
self.assertEqual(r.url, '/customurlconf/slash/')
|
||||
|
||||
|
@ -236,7 +236,7 @@ class CommonMiddlewareTest(SimpleTestCase):
|
|||
response = HttpResponseNotFound()
|
||||
r = CommonMiddleware().process_response(request, response)
|
||||
self.assertIsNotNone(r,
|
||||
"CommonMiddlware failed to return APPEND_SLASH redirect using request.urlconf")
|
||||
"CommonMiddleware failed to return APPEND_SLASH redirect using request.urlconf")
|
||||
self.assertEqual(r.status_code, 301)
|
||||
self.assertEqual(
|
||||
r.url,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue