diff options
| author | Andrew Godwin <andrew@aeracode.org> | 2013-08-10 21:04:59 +0100 |
|---|---|---|
| committer | Andrew Godwin <andrew@aeracode.org> | 2013-08-10 21:04:59 +0100 |
| commit | d5a7a3d6a80684caa8f5c3c7d5b454e3da1799a1 (patch) | |
| tree | 08a64faa7a9663dc88077ccb4db2c007e71d9417 | |
| parent | 3f1f91f155c89d0be9f920bb88a2c32f652fa79b (diff) | |
Add clarifying comment
| -rw-r--r-- | django/core/management/commands/makemigrations.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
