summaryrefslogtreecommitdiff
path: root/django/contrib
diff options
context:
space:
mode:
authorDavid Smith <smithdc@gmail.com>2021-07-23 07:48:16 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-07-29 06:24:12 +0200
commit1024b5e74a7166313ad4e4975a15e90dccd3ec5f (patch)
tree05d75177f183de5e3c58dbf25a3f71ff4a5c820a /django/contrib
parentacde91745656a852a15db7611c08cabf93bb735b (diff)
Fixed 32956 -- Lowercased spelling of "web" and "web framework" where appropriate.
Diffstat (limited to 'django/contrib')
-rw-r--r--django/contrib/admin/templates/registration/logged_out.html2
-rw-r--r--django/contrib/admin/utils.py2
-rw-r--r--django/contrib/auth/middleware.py4
-rw-r--r--django/contrib/gis/gdal/srs.py2
-rw-r--r--django/contrib/gis/geometry.py2
-rw-r--r--django/contrib/sessions/models.py2
-rw-r--r--django/contrib/staticfiles/management/commands/runserver.py2
7 files changed, 8 insertions, 8 deletions
diff --git a/django/contrib/admin/templates/registration/logged_out.html b/django/contrib/admin/templates/registration/logged_out.html
index 460e17eafd..e9a5545024 100644
--- a/django/contrib/admin/templates/registration/logged_out.html
+++ b/django/contrib/admin/templates/registration/logged_out.html
@@ -7,7 +7,7 @@
{% block content %}
-<p>{% translate "Thanks for spending some quality time with the Web site today." %}</p>
+<p>{% translate "Thanks for spending some quality time with the web site today." %}</p>
<p><a href="{% url 'admin:index' %}">{% translate 'Log in again' %}</a></p>
diff --git a/django/contrib/admin/utils.py b/django/contrib/admin/utils.py
index 7eea70b194..5821db5ffe 100644
--- a/django/contrib/admin/utils.py
+++ b/django/contrib/admin/utils.py
@@ -69,7 +69,7 @@ def quote(s):
Ensure that primary key values do not confuse the admin URLs by escaping
any '/', '_' and ':' and similarly problematic characters.
Similar to urllib.parse.quote(), except that the quoting is slightly
- different so that it doesn't get automatically unquoted by the Web browser.
+ different so that it doesn't get automatically unquoted by the web browser.
"""
return s.translate(QUOTE_MAP) if isinstance(s, str) else s
diff --git a/django/contrib/auth/middleware.py b/django/contrib/auth/middleware.py
index 1cd84f1cc9..89699a7f82 100644
--- a/django/contrib/auth/middleware.py
+++ b/django/contrib/auth/middleware.py
@@ -27,7 +27,7 @@ class AuthenticationMiddleware(MiddlewareMixin):
class RemoteUserMiddleware(MiddlewareMixin):
"""
- Middleware for utilizing Web-server-provided authentication.
+ Middleware for utilizing web-server-provided authentication.
If request.user is not authenticated, then this middleware attempts to
authenticate the username passed in the ``REMOTE_USER`` request header.
@@ -113,7 +113,7 @@ class RemoteUserMiddleware(MiddlewareMixin):
class PersistentRemoteUserMiddleware(RemoteUserMiddleware):
"""
- Middleware for Web-server provided authentication on logon pages.
+ Middleware for web-server provided authentication on logon pages.
Like RemoteUserMiddleware but keeps the user authenticated even if
the header (``REMOTE_USER``) is not found in the request. Useful
diff --git a/django/contrib/gis/gdal/srs.py b/django/contrib/gis/gdal/srs.py
index fd6509600c..5df8b54ab2 100644
--- a/django/contrib/gis/gdal/srs.py
+++ b/django/contrib/gis/gdal/srs.py
@@ -43,7 +43,7 @@ class AxisOrder(IntEnum):
class SpatialReference(GDALBase):
"""
- A wrapper for the OGRSpatialReference object. According to the GDAL Web site,
+ A wrapper for the OGRSpatialReference object. According to the GDAL web site,
the SpatialReference object "provide[s] services to represent coordinate
systems (projections and datums) and to transform between them."
"""
diff --git a/django/contrib/gis/geometry.py b/django/contrib/gis/geometry.py
index 815d8257d7..d92a17c964 100644
--- a/django/contrib/gis/geometry.py
+++ b/django/contrib/gis/geometry.py
@@ -4,7 +4,7 @@ from django.utils.regex_helper import _lazy_re_compile
# Regular expression for recognizing HEXEWKB and WKT. A prophylactic measure
# to prevent potentially malicious input from reaching the underlying C
-# library. Not a substitute for good Web security programming practices.
+# library. Not a substitute for good web security programming practices.
hex_regex = _lazy_re_compile(r'^[0-9A-F]+$', re.I)
wkt_regex = _lazy_re_compile(
r'^(SRID=(?P<srid>\-?\d+);)?'
diff --git a/django/contrib/sessions/models.py b/django/contrib/sessions/models.py
index a744267927..cb7a3f7c2f 100644
--- a/django/contrib/sessions/models.py
+++ b/django/contrib/sessions/models.py
@@ -22,7 +22,7 @@ class Session(AbstractBaseSession):
For complete documentation on using Sessions in your code, consult
the sessions documentation that is shipped with Django (also available
- on the Django Web site).
+ on the Django web site).
"""
objects = SessionManager()
diff --git a/django/contrib/staticfiles/management/commands/runserver.py b/django/contrib/staticfiles/management/commands/runserver.py
index fe050f4dfa..cf9605ee97 100644
--- a/django/contrib/staticfiles/management/commands/runserver.py
+++ b/django/contrib/staticfiles/management/commands/runserver.py
@@ -6,7 +6,7 @@ from django.core.management.commands.runserver import (
class Command(RunserverCommand):
- help = "Starts a lightweight Web server for development and also serves static files."
+ help = "Starts a lightweight web server for development and also serves static files."
def add_arguments(self, parser):
super().add_arguments(parser)