mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
django_manage: Use shebang in manage.py instead of hardcode python
This commit is contained in:
parent
4d4d911d6e
commit
20aa4c0cea
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ def main():
|
||||||
|
|
||||||
_ensure_virtualenv(module)
|
_ensure_virtualenv(module)
|
||||||
|
|
||||||
cmd = "python manage.py %s" % (command, )
|
cmd = "./manage.py %s" % (command, )
|
||||||
|
|
||||||
if command in noinput_commands:
|
if command in noinput_commands:
|
||||||
cmd = '%s --noinput' % cmd
|
cmd = '%s --noinput' % cmd
|
||||||
|
|
Loading…
Reference in a new issue