format indexing for Python 2.6 compatibility
This commit is contained in:
parent
dec70ee9d7
commit
7445463c0b
|
@ -12,7 +12,7 @@ class Command(MigrateCommand):
|
|||
database = options.get('database', 'default')
|
||||
if (settings.DATABASES[database]['ENGINE'] == 'tenant_schemas.postgresql_backend' or
|
||||
MigrateCommand is BaseCommand):
|
||||
raise CommandError("migrate has been disabled, for database '{}'. Use migrate_schemas "
|
||||
raise CommandError("migrate has been disabled, for database '{0}'. Use migrate_schemas "
|
||||
"instead. Please read the documentation if you don't know why you "
|
||||
"shouldn't call migrate directly!".format(database))
|
||||
super(Command, self).handle(*args, **options)
|
||||
|
|
Loading…
Reference in New Issue