django_manage: expand ~ in app_path parameter

Allow users to specify app_path parameters that contain ~, for example:

app_path=~/myproject
pull/18777/head
Lorin Hochstein 10 years ago committed by Matt Clay
parent c366e7acb2
commit abf314c258

@ -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…
Cancel
Save