1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Fixed typo in django/db/backends/base/schema.py comment.

This commit is contained in:
Tim Graham 2017-05-01 20:45:33 -04:00
parent 663e48947f
commit 05098fa449

View File

@ -547,7 +547,7 @@ class BaseDatabaseSchemaEditor:
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