summaryrefslogtreecommitdiff
path: root/django/db/migrations/executor.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/db/migrations/executor.py')
-rw-r--r--django/db/migrations/executor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/migrations/executor.py b/django/db/migrations/executor.py
index d1a8dd64dc..57b1e297a5 100644
--- a/django/db/migrations/executor.py
+++ b/django/db/migrations/executor.py
@@ -47,7 +47,7 @@ class MigrationExecutor(object):
# child(ren) in the same app, and no further.
next_in_app = sorted(
n for n in
- self.loader.graph.dependents.get(target, set())
+ self.loader.graph.node_map[target].children
if n[0] == target[0]
)
for node in next_in_app: