Public bug reported: The documentation (file:///usr/share/doc/python-django- doc/html/intro/tutorial01.html) states that you can create a new Django project with the command:
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/python2.7/dist- packages/django/bin/django-admin.py], [/usr/lib/python2.7/dist- packages/django/bin/django-admin.pyc] and [/usr/local/bin/django- admin.py]. If you make a link from one of the three files to e.g. /usr/local/bin /django-admin.py, it turns out that you should make the file executable before runnking it. 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 ProcVersionSignature: Ubuntu 3.2.0-32.51-generic 3.2.30 Uname: Linux 3.2.0-32-generic i686 ApportVersion: 2.0.1-0ubuntu13 Architecture: i386 Date: Fri Oct 5 08:22:56 2012 PackageArchitecture: all 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) ** Affects: python-django (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 precise -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1062052 Title: Programs in the package do not work as documented To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-django/+bug/1062052/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs