mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #32956 -- Changed "afterwards" to "afterward" in docs and comments.
This also removes unnecessary comments with the previous spelling. AP Stylebook has a short entry to advise the preferred spelling for "en-us". "Afterwards" is preferred in British English.
This commit is contained in:
@@ -1260,7 +1260,7 @@ Django provides a standard Python context manager (see :pep:`343`) called
|
||||
self.assertRedirects(response, '/other/login/?next=/sekrit/')
|
||||
|
||||
This example will override the :setting:`LOGIN_URL` setting for the code
|
||||
in the ``with`` block and reset its value to the previous state afterwards.
|
||||
in the ``with`` block and reset its value to the previous state afterward.
|
||||
|
||||
.. method:: SimpleTestCase.modify_settings()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user