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:
Lorin Hochstein 2014-11-22 20:59:36 -05:00
parent 19b328c4df
commit d7db09a0eb

View file

@ -218,7 +218,7 @@ def main():
)
command = module.params['command']
app_path = module.params['app_path']
app_path = os.path.expanduser(module.params['app_path'])
virtualenv = module.params['virtualenv']
for param in specific_params: