1
0
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:
David Smith
2021-07-27 09:41:51 +01:00
committed by GitHub
parent 3d9040a50b
commit 1cba320786
18 changed files with 28 additions and 41 deletions

View File

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