summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorEric Boersma <eric.boersma@gmail.com>2013-09-05 18:23:48 -0400
committerTim Graham <timograham@gmail.com>2013-09-05 20:14:58 -0400
commit4d13cc56de46ccfc89e9f1381ba4f194070bbdb7 (patch)
tree5ee6093dd8e9c4d1beb5df46cb16997dad59d6c2 /django
parent93dd31cadfb5f02352740aac32bc2f6cdf923b48 (diff)
Fixed #21035 -- Changed docs to treat the acronym SQL phonetically.
The documentation and comments now all use 'an' to refer to the word SQL and not 'a'.
Diffstat (limited to 'django')
-rw-r--r--django/contrib/gis/db/models/sql/conversion.py2
-rw-r--r--django/db/backends/__init__.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/django/contrib/gis/db/models/sql/conversion.py b/django/contrib/gis/db/models/sql/conversion.py
index 941c257c75..160b623e6d 100644
--- a/django/contrib/gis/db/models/sql/conversion.py
+++ b/django/contrib/gis/db/models/sql/conversion.py
@@ -22,6 +22,6 @@ class DistanceField(BaseField):
class GeomField(BaseField):
"""
Wrapper for Geometry values. It is a lightweight alternative to
- using GeometryField (which requires a SQL query upon instantiation).
+ using GeometryField (which requires an SQL query upon instantiation).
"""
pass
diff --git a/django/db/backends/__init__.py b/django/db/backends/__init__.py
index 0c1c329202..13078e35ca 100644
--- a/django/db/backends/__init__.py
+++ b/django/db/backends/__init__.py
@@ -728,7 +728,7 @@ class BaseDatabaseOperations(object):
def cache_key_culling_sql(self):
"""
- Returns a SQL query that retrieves the first cache key greater than the
+ Returns an SQL query that retrieves the first cache key greater than the
n smallest.
This is used by the 'db' cache backend to determine where to start
@@ -960,7 +960,7 @@ class BaseDatabaseOperations(object):
def random_function_sql(self):
"""
- Returns a SQL expression that returns a random value.
+ Returns an SQL expression that returns a random value.
"""
return 'RANDOM()'