[Python-modules-team] Bug#833275: python3-django: django-admin startproject creates incorrect shebang
Simon Ruderich
simon at ruderich.org
Tue Aug 2 12:13:01 UTC 2016
Package: python3-django
Version: 1:1.10-2
Severity: normal
Hello,
django-admin startproject foo
creates manage.py with the following shebang:
#!/usr/bin/env python
However on Debian python is python2 and not python3, therefore
running manage.py fails because it can't find the django module
(I only installed python3-django). It should use instead python3
in the shebang. I'm not sure if there's an easy fix, as
manage.py-tpl is provided by python-django-common.
Regards
Simon
--
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20160802/eaae6eef/attachment.sig>
More information about the Python-modules-team
mailing list