Author: gabrielhurley
Date: 2011-05-18 12:39:50 -0700 (Wed, 18 May 2011)
New Revision: 16239

Modified:
   django/trunk/docs/topics/testing.txt
Log:
Correcting a typo and minor grammatical issues from [16237].


Modified: django/trunk/docs/topics/testing.txt
===================================================================
--- django/trunk/docs/topics/testing.txt        2011-05-18 12:30:22 UTC (rev 
16238)
+++ django/trunk/docs/topics/testing.txt        2011-05-18 19:39:50 UTC (rev 
16239)
@@ -1385,7 +1385,7 @@
             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 @@
 .. 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`: http://www.python.org/dev/peps/pep-0343/
 .. _`decorator`: http://www.python.org/dev/peps/pep-0318/

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to