Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Correcting a typo and minor grammatical issues from [16237].

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 5dec36d commit 8ecda079a88d625002c5bbc12740077a51f70da4 Gabriel Hurley committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 docs/topics/testing.txt
6 docs/topics/testing.txt
@@ -1385,7 +1385,7 @@ this use case Django provides a standard `Python context manager`_
response = self.client.get('/sekrit/')
self.assertRedirects(response, '/accounts/login/?next=/sekrit/')
- # Then override the LOGING_URL setting
+ # Then override the LOGIN_URL setting
with self.settings(LOGIN_URL='/other/login/'):
response = self.client.get('/sekrit/')
self.assertRedirects(response, '/other/login/?next=/sekrit/')
@@ -1438,10 +1438,10 @@ decorate the class::
.. note::
When overriding settings make sure to also handle the cases in which
- Django or your app's code use a cache or another feature that retain
+ Django or your app's code uses a cache or similar feature that retains
state even if the setting is changed. Django provides the
:data:`django.test.signals.setting_changed` signal to connect cleanup
- and other state resetting callbacks to.
+ and other state-resetting callbacks to.
.. _`Python context manager`:
.. _`decorator`:

0 comments on commit 8ecda07

Please sign in to comment.
Something went wrong with that request. Please try again.