0
0
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:
Tim Graham 2016-02-08 07:41:02 -05:00
parent 97eb3356b2
commit db9f21f0ad

View File

@ -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):