mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
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):
|
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…
Reference in New Issue
Block a user