mirror of
https://github.com/django/django.git
synced 2025-12-21 08:10:23 +00:00
Fixed many typos in comments and docstrings.
Thanks Piotr Kasprzyk for help with the patch.
This commit is contained in:
parent
6acaa52386
commit
0d91225892
121 changed files with 208 additions and 208 deletions
|
|
@ -196,7 +196,7 @@ class OracleOperations(DatabaseOperations, BaseSpatialOperations):
|
|||
else:
|
||||
dist_param = value
|
||||
|
||||
# dwithin lookups on oracle require a special string parameter
|
||||
# dwithin lookups on Oracle require a special string parameter
|
||||
# that starts with "distance=".
|
||||
if lookup_type == 'dwithin':
|
||||
dist_param = 'distance=%s' % dist_param
|
||||
|
|
@ -220,7 +220,7 @@ class OracleOperations(DatabaseOperations, BaseSpatialOperations):
|
|||
placeholder = '%s(%%s, %s)' % (self.transform, f.srid)
|
||||
else:
|
||||
placeholder = '%s'
|
||||
# No geometry value used for F expression, substitue in
|
||||
# No geometry value used for F expression, substitute in
|
||||
# the column name instead.
|
||||
return placeholder % self.get_expression_column(value)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue