Stop unicode conversion warning during dbupdate.
Just force the passed in name to MigrationManager() to unicode.
This commit is contained in:
parent
4211d03014
commit
9abd664bf2
@ -39,7 +39,7 @@ class MigrationManager(object):
|
|||||||
- migration_registry: where we should find all migrations to
|
- migration_registry: where we should find all migrations to
|
||||||
run
|
run
|
||||||
"""
|
"""
|
||||||
self.name = name
|
self.name = unicode(name)
|
||||||
self.models = models
|
self.models = models
|
||||||
self.session = session
|
self.session = session
|
||||||
self.migration_registry = migration_registry
|
self.migration_registry = migration_registry
|
||||||
|
Loading…
x
Reference in New Issue
Block a user