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
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-05-06 06:36:16 +0200
commitcdf320dfb232fe5a22c9354acbd23477e31aabc9 (patch)
treefa0ead2e916bd57106cd501971221af27b39f1d8 /django/db/backends/utils.py
parentfdd5eb4309535bf49b3138e0954c6da553c1adef (diff)
[3.0.x] Fixed a/an typos in "SQL" usage.
Backport of 1c2c6f1b51a540bddc7ae95f4d1213688411ca44 from master
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 2416a458ba..57f8fcce03 100644
--- a/django/db/backends/utils.py
+++ b/django/db/backends/utils.py
@@ -184,7 +184,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.
@@ -198,7 +198,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,