On Sun, Aug 05, 2007 at 11:46:45PM -0500, James Bennett wrote:
> 
> On 8/5/07, john <[EMAIL PROTECTED]> wrote:
> > thks - the tutorial shows the .py extension and that was giving the
> > error.
> 
> The file's name is 'django-admin.py', not 'django-admin', and the
> tutorial is correct; the problem was that you did not have the
> executable bit set on django-admin.py, and so you did not have
> permission to execute that file from the command line.

The Ubuntu package ships a django-admin executable.  I'm not sure if it is just
a symlink to django-admin.py, or if it is django-admin.py renamed.  This is to
achieve compliance with Debian policy, which (I believe) recommends against
extensions like .py on commands.

I could, however, be mis-remembering all of this stuff.

John, you should remove the django installation in /usr/local if you have the
Ubuntu package installed.

-Forest
-- 
Forest Bond
http://www.alittletooquiet.net

Attachment: signature.asc
Description: Digital signature

Reply via email to