Fix bug in windows.
This commit is contained in:
parent
6be6d55e5b
commit
0d23297f46
@ -3,6 +3,11 @@ ChangeLog
|
||||
=========
|
||||
0.2
|
||||
===
|
||||
|
||||
0.2.1
|
||||
-----
|
||||
- Fix bug in windows.
|
||||
|
||||
0.2.0
|
||||
-----
|
||||
- Update model file find method.
|
||||
|
@ -172,7 +172,7 @@ class Migrate:
|
||||
"""
|
||||
temp_config = deepcopy(config)
|
||||
path = os.path.join(location, app, cls.old_models)
|
||||
path = path.replace("/", ".").lstrip(".")
|
||||
path = path.replace(os.sep, ".").lstrip(".")
|
||||
temp_config["apps"][cls.diff_app] = {
|
||||
"models": [path],
|
||||
"default_connection": config.get("apps").get(app).get("default_connection", "default"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user