Commit a904e558 authored by Russell Keith-Magee's avatar Russell Keith-Magee
Browse files

Fixed #11509 -- Modified usage of "Web" to match our style guide in various...

Fixed #11509 -- Modified usage of "Web" to match our style guide in various documentation, comments and code. Thanks to timo and Simon Meers for the work on the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 2cadc6b1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ class AuthenticationMiddleware(object):

class RemoteUserMiddleware(object):
    """
    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.
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ Example
-------

First, we define a simple model class which might represent entries in
a weblog::
a Weblog::

    from django.db import models

+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ from django.contrib.gis.gdal.prototypes import srs as capi
#### Spatial Reference class. ####
class SpatialReference(GDALBase):
    """
    A wrapper for the OGRSpatialReference object.  According to the GDAL website,
    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."
    """
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@ import re

# 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 = re.compile(r'^[0-9A-F]+$', re.I)
wkt_regex = re.compile(r'^(SRID=(?P<srid>\d+);)?'
                       r'(?P<wkt>'
+1 −1
Original line number Diff line number Diff line
"""
  This module houses the GoogleMap object, used for generating
   the needed javascript to embed Google Maps in a webpage.
   the needed javascript to embed Google Maps in a Web page.

  Google(R) is a registered trademark of Google, Inc. of Mountain View, California.

Loading