django_manage: expand ~ in app_path parameter
Allow users to specify app_path parameters that contain ~, for example: app_path=~/myproject
This commit is contained in:
parent
c366e7acb2
commit
abf314c258
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ def main():
|
||||||
)
|
)
|
||||||
|
|
||||||
command = module.params['command']
|
command = module.params['command']
|
||||||
app_path = module.params['app_path']
|
app_path = os.path.expanduser(module.params['app_path'])
|
||||||
virtualenv = module.params['virtualenv']
|
virtualenv = module.params['virtualenv']
|
||||||
|
|
||||||
for param in specific_params:
|
for param in specific_params:
|
||||||
|
|
Loading…
Reference in a new issue