Programs in the package do not work as documented
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-django (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
The documentation (file:/
django-admin startproject mysite
However, when you do that, you get the message that the command does not exist. The documentation says, that when you get that message, you should make a symbolic link from the path to django-admin.py file to a file in a directory in your path. It is confusing which django-admin.py to choose, because python-django supplies [/usr/lib/
If you make a link from one of the three files to e.g. /usr/local/
When you finally run the command django-admin startproject mysite, you get the error message
"Unknown command: 'startproject'".
Probably you ought to give the command:
django-admin startapp mysite.
This is very confusing for a beginner. Therefore I suggest that in package python-django django-admin.py would be executable and in the path of users and that the documentation suggests the right command to set up a new site.
Thanks for your help.
Paul Huygen
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: python-django 1.3.1-4ubuntu1.2
ProcVersionSign
Uname: Linux 3.2.0-32-generic i686
ApportVersion: 2.0.1-0ubuntu13
Architecture: i386
Date: Fri Oct 5 08:22:56 2012
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, user)
LANG=nl_NL.UTF-8
SHELL=/bin/bash
SourcePackage: python-django
UpgradeStatus: Upgraded to precise on 2012-05-01 (156 days ago)
Hi Paul
I'm not able to reproduce this issue on 12.04; using django-admin from the python-django package works just fine for me. Can you check that you don't have an out-of-distro version kicking around on your system.
Thanks