Loading django/core/management/commands/makemigrations.py +2 −1 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
django/core/management/commands/makemigrations.py +2 −1 Original line number Diff line number Diff line Loading @@ -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 Loading