[1.9.x] Fixed typo in django/db/migrations/state.py.
Backport of db9f21f0ad29db860a10c1192933a79b0524ebc6 from master
This commit is contained in:
parent
6b689a505c
commit
6f14a1429a
@ -245,7 +245,7 @@ class StateApps(Apps):
|
|||||||
"""
|
"""
|
||||||
def extract_field(operation):
|
def extract_field(operation):
|
||||||
# operation is annotated with the field in
|
# operation is annotated with the field in
|
||||||
# apps.register.Apps.lazy_model_operation().
|
# apps.registry.Apps.lazy_model_operation().
|
||||||
return getattr(operation, 'field', None)
|
return getattr(operation, 'field', None)
|
||||||
|
|
||||||
def extract_field_names(operations):
|
def extract_field_names(operations):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user