Add clarifying comment

This commit is contained in:
Andrew Godwin 2013-08-10 21:04:59 +01:00
parent 3f1f91f155
commit d5a7a3d6a8
1 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,8 @@ class Command(BaseCommand):
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