1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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'] 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: