summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Godwin <andrew@aeracode.org>2013-12-05 14:10:58 +0000
committerAndrew Godwin <andrew@aeracode.org>2013-12-05 14:11:46 +0000
commit4ca39684ee1e21b7e508d58ee89f9a0c309399c4 (patch)
tree43db70bf16849e26bf28321976bfb8a0d180cf16
parentcbf8e8aa125d25aa0d4b3a65ef9915acca4a4e81 (diff)
Fix poor variable name (flake8 warning)
-rw-r--r--django/core/management/commands/makemigrations.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/core/management/commands/makemigrations.py b/django/core/management/commands/makemigrations.py
index 284898d8d4..239a0a416c 100644
--- a/django/core/management/commands/makemigrations.py
+++ b/django/core/management/commands/makemigrations.py
@@ -89,10 +89,10 @@ class Command(BaseCommand):
return
directory_created = {}
- for app_label, migrations in changes.items():
+ for app_label, app_migrations in changes.items():
if self.verbosity >= 1:
self.stdout.write(self.style.MIGRATE_HEADING("Migrations for '%s':" % app_label) + "\n")
- for migration in migrations:
+ for migration in app_migrations:
# Describe the migration
writer = MigrationWriter(migration)
if self.verbosity >= 1: