summaryrefslogtreecommitdiff
path: root/django/db/backends/utils.py
diff options
context:
space:
mode:
authorAdam Johnson <me@adamj.eu>2020-05-06 05:35:26 +0100
committerGitHub <noreply@github.com>2020-05-06 06:35:26 +0200
commit1c2c6f1b51a540bddc7ae95f4d1213688411ca44 (patch)
tree4ccba035a421873e341736790830dcc85a86c60f /django/db/backends/utils.py
parentaff7a58aef0264e5b2740e5df07894ecc0d7a580 (diff)
downloaddjango-1c2c6f1b51a540bddc7ae95f4d1213688411ca44.tar.gz
Fixed a/an typos in "SQL" usage.
Diffstat (limited to 'django/db/backends/utils.py')
-rw-r--r--django/db/backends/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/db/backends/utils.py b/django/db/backends/utils.py
index 2efc9b0553..45c03ba3e9 100644
--- a/django/db/backends/utils.py
+++ b/django/db/backends/utils.py
@@ -181,7 +181,7 @@ def typecast_timestamp(s): # does NOT store time zone information
def split_identifier(identifier):
"""
- Split a SQL identifier into a two element tuple of (namespace, name).
+ Split an SQL identifier into a two element tuple of (namespace, name).
The identifier could be a table, column, or sequence name might be prefixed
by a namespace.
@@ -195,7 +195,7 @@ def split_identifier(identifier):
def truncate_name(identifier, length=None, hash_len=4):
"""
- Shorten a SQL identifier to a repeatable mangled version with the given
+ Shorten an SQL identifier to a repeatable mangled version with the given
length.
If a quote stripped name contains a namespace, e.g. USERNAME"."TABLE,