[1.9.x] Fixed typo in django/db/migrations/state.py.

Backport of db9f21f0ad29db860a10c1192933a79b0524ebc6 from master
This commit is contained in:
Tim Graham 2016-02-08 07:41:02 -05:00
parent 6b689a505c
commit 6f14a1429a

View File

@ -245,7 +245,7 @@ class StateApps(Apps):
"""
def extract_field(operation):
# operation is annotated with the field in
# apps.register.Apps.lazy_model_operation().
# apps.registry.Apps.lazy_model_operation().
return getattr(operation, 'field', None)
def extract_field_names(operations):