django_manage: Use shebang in manage.py instead of hardcode python
This commit is contained in:
parent
be89a2f5fc
commit
3b954edab2
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,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…
Add table
Reference in a new issue