diff options
author | Adam Taylor <ataylor32@gmail.com> | 2015-01-20 07:54:12 -0700 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2015-01-20 12:18:03 -0500 |
commit | 039465a6a7a18f48ea77ceadb6949990c0ec92e1 (patch) | |
tree | cba4538131d680c040535e9ffe3af7c1db034655 /django/db/migrations/optimizer.py | |
parent | dccf41cff0f46a94aa1d853d1bad9052079bb454 (diff) | |
download | django-039465a6a7a18f48ea77ceadb6949990c0ec92e1.tar.gz |
Fixed typos in code comments.
Diffstat (limited to 'django/db/migrations/optimizer.py')
-rw-r--r-- | django/db/migrations/optimizer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/migrations/optimizer.py b/django/db/migrations/optimizer.py index c39bf15453..8c5ee71819 100644 --- a/django/db/migrations/optimizer.py +++ b/django/db/migrations/optimizer.py @@ -229,7 +229,7 @@ class MigrationOptimizer(object): def reduce_create_model_add_field(self, operation, other, in_between): if operation.name_lower == other.model_name_lower: - # Don't allow optimisations of FKs through models they reference + # Don't allow optimizations of FKs through models they reference if hasattr(other.field, "rel") and other.field.rel: for between in in_between: # Check that it doesn't point to the model |