Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add clarifying comment

  • Loading branch information...
commit d5a7a3d6a80684caa8f5c3c7d5b454e3da1799a1 1 parent 3f1f91f
@andrewgodwin andrewgodwin authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  django/core/management/commands/makemigrations.py
View
3  django/core/management/commands/makemigrations.py
@@ -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)
sys.exit(2)
- # 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
Please sign in to comment.
Something went wrong with that request. Please try again.