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

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'.
This commit is contained in:
Eric Boersma
2013-09-05 18:23:48 -04:00
committed by Tim Graham
parent 93dd31cadf
commit 4d13cc56de
13 changed files with 19 additions and 15 deletions

View File

@@ -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

View File

@@ -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()'