From d5a7a3d6a80684caa8f5c3c7d5b454e3da1799a1 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Sat, 10 Aug 2013 21:04:59 +0100 Subject: [PATCH] Add clarifying comment --- django/core/management/commands/makemigrations.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/django/core/management/commands/makemigrations.py b/django/core/management/commands/makemigrations.py index 1296a14cdd..cd30311820 100644 --- a/django/core/management/commands/makemigrations.py +++ b/django/core/management/commands/makemigrations.py @@ -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