summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-05-01 20:45:33 -0400
committerTim Graham <timograham@gmail.com>2017-05-01 20:46:07 -0400
commit369321819c0807c5ba191904241b161d5f969b05 (patch)
treeae78d24ef5c8bdcb89814d4554853c41af6da85d
parent6afede82192067efecedb039c29eb301816d5fb5 (diff)
[1.11.x] Fixed typo in django/db/backends/base/schema.py comment.
Backport of 05098fa4494e66e1d3750d7f4821f7b3114693b9 from master
-rw-r--r--django/db/backends/base/schema.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/backends/base/schema.py b/django/db/backends/base/schema.py
index 4edec995e9..ecea348cbf 100644
--- a/django/db/backends/base/schema.py
+++ b/django/db/backends/base/schema.py
@@ -571,7 +571,7 @@ class BaseDatabaseSchemaEditor(object):
index_names = self._constraint_names(model, [old_field.column], index=True, type_=Index.suffix)
for index_name in index_names:
if index_name in meta_index_names:
- # There only way to check if an index was created with
+ # The only way to check if an index was created with
# db_index=True or with Index(['field'], name='foo')
# is to look at its name (refs #28053).
continue