1
0
mirror of https://github.com/django/django.git synced 2024-12-25 10:35:48 +00:00

Add clarifying comment

This commit is contained in:
Andrew Godwin 2013-08-10 21:04:59 +01:00
parent 3f1f91f155
commit d5a7a3d6a8

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