Fixed typo in django/db/migrations/state.py.
This commit is contained in:
parent
97eb3356b2
commit
db9f21f0ad
|
@ -257,7 +257,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):
|
||||
|
|
Loading…
Reference in New Issue