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:
@@ -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
|
||||
|
||||
@@ -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()'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user