quite migration name to avoid failures of migration with space in the name
This commit is contained in:
1 parent
1245e7939d
commit
fb0d7f07bc
1 file changed
+1
-1
@@ -174,7 +174,7 @@ class MigrationLinter(object):
|
||||
it allows to seperate the instances correctly.
|
||||
"""
|
||||
sqlmigrate_command = (
|
||||
"cd {0} && {1} manage.py sqlmigrate {2} {3} --database {4}"
|
||||
"cd {0} && {1} manage.py sqlmigrate {2} '{3}' --database {4}"
|
||||
).format(
|
||||
self.django_path, sys.executable, app_name, migration_name, self.database
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user