Merge pull request #1165 from ludat/devel

django_manage: Use shebang in manage.py instead of hardcoded "python"
This commit is contained in:
Brian Coca 2015-07-04 15:56:12 -04:00
commit 549bbc7ee7

View file

@ -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