Skip to content
Browse files

Add clarifying comment

  • Loading branch information...
1 parent 3f1f91f commit d5a7a3d6a80684caa8f5c3c7d5b454e3da1799a1 @andrewgodwin andrewgodwin committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 django/core/management/commands/
3 django/core/management/commands/
@@ -39,7 +39,8 @@ def handle(self, *app_labels, **options):
self.stderr.write("App '%s' could not be found. Is it in INSTALLED_APPS?" % app_label)
- # Load the current graph state
+ # Load the current graph state. Takes a connection, but it's not used
+ # (makemigrations doesn't look at the database state).
loader = MigrationLoader(connections["default"])
# Detect changes

0 comments on commit d5a7a3d

Please sign in to comment.
Something went wrong with that request. Please try again.