1
0
mirror of https://github.com/django/django.git synced 2025-08-21 01:09:13 +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

@ -533,9 +533,8 @@ LOGOUT_REDIRECT_URL = None
# The number of seconds a password reset link is valid for (default: 3 days). # The number of seconds a password reset link is valid for (default: 3 days).
PASSWORD_RESET_TIMEOUT = 60 * 60 * 24 * 3 PASSWORD_RESET_TIMEOUT = 60 * 60 * 24 * 3
# the first hasher in this list is the preferred algorithm. any # The first hasher in this list is the preferred algorithm. Any password using
# password using different algorithms will be converted automatically # different algorithms will be converted automatically upon login.
# upon login
PASSWORD_HASHERS = [ PASSWORD_HASHERS = [
"django.contrib.auth.hashers.PBKDF2PasswordHasher", "django.contrib.auth.hashers.PBKDF2PasswordHasher",
"django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher", "django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher",

View File

@ -4,7 +4,7 @@ an interface for reading vector geometry data from many different file
formats (including ESRI shapefiles). formats (including ESRI shapefiles).
When instantiating a DataSource object, use the filename of a When instantiating a DataSource object, use the filename of a
GDAL-supported data source. For example, a SHP file or a GDAL-supported data source. For example, an SHP file or a
TIGER/Line file from the government. TIGER/Line file from the government.
The ds_driver keyword is used internally when a ctypes pointer The ds_driver keyword is used internally when a ctypes pointer

View File

@ -579,7 +579,7 @@ class FormatStylePlaceholderCursor:
def _fix_for_params(self, query, params, unify_by_values=False): def _fix_for_params(self, query, params, unify_by_values=False):
# oracledb wants no trailing ';' for SQL statements. For PL/SQL, it # oracledb wants no trailing ';' for SQL statements. For PL/SQL, it
# it does want a trailing ';' but not a trailing '/'. However, these # does want a trailing ';' but not a trailing '/'. However, these
# characters must be included in the original query in case the query # characters must be included in the original query in case the query
# is being passed to SQL*Plus. # is being passed to SQL*Plus.
if query.endswith(";") or query.endswith("/"): if query.endswith(";") or query.endswith("/"):

View File

@ -20,7 +20,7 @@ class TestGeoRSS1(feeds.Feed):
class TestGeoRSS2(TestGeoRSS1): class TestGeoRSS2(TestGeoRSS1):
def geometry(self, obj): def geometry(self, obj):
# This should attach a <georss:box> element for the extent of # This should attach a <georss:box> element for the extent of
# of the cities in the database. This tuple came from # the cities in the database. This tuple came from
# calling `City.objects.aggregate(Extent())` -- we can't do that call # calling `City.objects.aggregate(Extent())` -- we can't do that call
# here because `Extent` is not implemented for MySQL/Oracle. # here because `Extent` is not implemented for MySQL/Oracle.
return (-123.30, -41.32, 174.78, 48.46) return (-123.30, -41.32, 174.78, 48.46)