Re: Path issue on Linux

2010-10-19 Thread Sithembewena Lloyd Dube
Thanks Ken. On Mon, Oct 18, 2010 at 2:44 PM, Kenneth Gonsalves wrote: > On Mon, 2010-10-18 at 14:34 +0200, Sithembewena Lloyd Dube wrote: > > Just manage.py , instead of always having to specify the > > program to > > run the command with (python). > > anyway you got the answer - chmod > -- > reg

Re: Path issue on Linux

2010-10-18 Thread Kenneth Gonsalves
On Mon, 2010-10-18 at 14:34 +0200, Sithembewena Lloyd Dube wrote: > Just manage.py , instead of always having to specify the > program to > run the command with (python). anyway you got the answer - chmod -- regards Kenneth Gonsalves -- You received this message because you are subscribed to t

Re: Path issue on Linux

2010-10-18 Thread Sithembewena Lloyd Dube
Hi Ken, Just manage.py , instead of always having to specify the program to run the command with (python). On Mon, Oct 18, 2010 at 7:25 AM, Kenneth Gonsalves wrote: > On Sun, 2010-10-17 at 23:00 +0200, Sithembewena Lloyd Dube wrote: > > How would I set up my path so that I don't always have to

Re: Path issue on Linux

2010-10-17 Thread Kenneth Gonsalves
On Sun, 2010-10-17 at 23:00 +0200, Sithembewena Lloyd Dube wrote: > How would I set up my path so that I don't always have to type > 'python > manage.py '? On Windows, I would add the directory containing > the > python file to my system path. How can I do this on Linux?Am working > on > Ubuntu 10

Re: Path issue on Linux

2010-10-17 Thread Sithembewena Lloyd Dube
Ah - thanks Sam! Why didn't I think of chmod? On Sun, Oct 17, 2010 at 11:35 PM, Sam Lai wrote: > Python should already by in your PATH when you installed the package > from the Ubuntu repositories. > > I think your issue is that your manage.py is not executable. In the > directory containing m

Re: Path issue on Linux

2010-10-17 Thread Sam Lai
Python should already by in your PATH when you installed the package from the Ubuntu repositories. I think your issue is that your manage.py is not executable. In the directory containing manage.py, type chmod u+x manage.py Then you should be able to just type ./manage.py On 18 October 2010 08