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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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()