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
|
@ -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