django-admin should use the right python interpreter

Bug #182807 reported by Andrea Gasparini
4
Affects Status Importance Assigned to Milestone
python-django (Debian)
Fix Released
Unknown
python-django (Ubuntu)
Fix Released
Medium
Emmet Hikory

Bug Description

Binary package hint: python-django

Django-admin should use the right python interpreter used to call the script.

[538]gaspa@saturnino:temp$ python2.4 /usr/bin/django-admin startproject foo
[539]gaspa@saturnino:temp$ head -n2 foo/manage.py
#!/usr/bin/env python
from django.core.management import execute_manager
[540]gaspa@saturnino:temp$ /usr/bin/env python
Python 2.5.1 (r251:54863, Oct 5 2007, 13:36:32)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

Andrea Gasparini (gaspa)
Changed in python-django:
assignee: nobody → gaspa
status: New → In Progress
Revision history for this message
Andrea Gasparini (gaspa) wrote :

There's a fix for this bug.

Revision history for this message
Andrea Gasparini (gaspa) wrote :

argh. I used the wrong version.
Here's the right one, sorry.

Changed in python-django:
status: Unknown → New
Andrea Gasparini (gaspa)
Changed in python-django:
status: In Progress → Confirmed
Revision history for this message
Emmet Hikory (persia) wrote :

Uploaded. Thanks.

Changed in python-django:
assignee: gaspa → persia
importance: Undecided → Medium
status: Confirmed → In Progress
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-django - 0.96.1-1ubuntu2

---------------
python-django (0.96.1-1ubuntu2) hardy; urgency=low

  * debian/patches/03_dynamicshebang.diff:
     manage.py created with the right python interpreter.fix LP: #182807

 -- Andrea Gasparini <email address hidden> Mon, 14 Jan 2008 11:52:15 +0100

Changed in python-django:
status: Fix Committed → Fix Released
Changed in python-django (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.