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 committed by Matt Clay
parent c366e7acb2
commit abf314c258

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: