Loading django/db/migrations/state.py +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
django/db/migrations/state.py +1 −1 Original line number Diff line number Diff line Loading @@ -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