1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Removed double spaces after periods and within phrases.

This commit is contained in:
Sarah Boyce
2025-07-18 15:37:14 +02:00
committed by nessita
parent 1909108f9f
commit 1ecf6889ca
109 changed files with 215 additions and 216 deletions

View File

@@ -338,12 +338,12 @@ class CsrfViewMiddlewareTestMixin(CsrfFunctionTestMixin):
If get_token() is not called, the view middleware does not
add a cookie.
"""
# This is important to make pages cacheable. Pages which do call
# This is important to make pages cacheable. Pages which do call
# get_token(), assuming they use the token, are not cacheable because
# the token is specific to the user
req = self._get_request()
# non_token_view_using_request_processor does not call get_token(), but
# does use the csrf request processor. By using this, we are testing
# does use the csrf request processor. By using this, we are testing
# that the view processor is properly lazy and doesn't call get_token()
# until needed.
mw = CsrfViewMiddleware(non_token_view_using_request_processor)