Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16239 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 8ecda079a88d625002c5bbc12740077a51f70da4 1 parent 5dec36d
authored May 18, 2011

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  docs/topics/testing.txt
6  docs/topics/testing.txt
@@ -1385,7 +1385,7 @@ this use case Django provides a standard `Python context manager`_
1385 1385
             response = self.client.get('/sekrit/')
1386 1386
             self.assertRedirects(response, '/accounts/login/?next=/sekrit/')
1387 1387
 
1388  
-            # Then override the LOGING_URL setting
  1388
+            # Then override the LOGIN_URL setting
1389 1389
             with self.settings(LOGIN_URL='/other/login/'):
1390 1390
                 response = self.client.get('/sekrit/')
1391 1391
                 self.assertRedirects(response, '/other/login/?next=/sekrit/')
@@ -1438,10 +1438,10 @@ decorate the class::
1438 1438
 .. note::
1439 1439
 
1440 1440
     When overriding settings make sure to also handle the cases in which
1441  
-    Django or your app's code use a cache or another feature that retain
  1441
+    Django or your app's code uses a cache or similar feature that retains
1442 1442
     state even if the setting is changed. Django provides the
1443 1443
     :data:`django.test.signals.setting_changed` signal to connect cleanup
1444  
-    and other state resetting callbacks to.
  1444
+    and other state-resetting callbacks to.
1445 1445
 
1446 1446
 .. _`Python context manager`: http://www.python.org/dev/peps/pep-0343/
1447 1447
 .. _`decorator`: http://www.python.org/dev/peps/pep-0318/

0 notes on commit 8ecda07

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