Re: Help with Django installation on OSX 10.4.10

2007-08-27 Thread Sydney Weidman
If I remember correctly, you'll see the file listing if you don't have handlers set properly for the location. What is in your httpd.conf or virtual host config file for the htdocs directory? I'm assuming you've looked at: http://www.djangoproject.com/documentation/modpython/ - syd On Aug 27,

Re: Help with Django installation on OSX 10.4.10

2007-08-26 Thread Brandon Taylor
Hi Joe, One more question... So Django is woring correctly which is great, but I can't seem to get mod_python working for Apache 2. I have the latest version of Apache 2.2.4 and mod_python 3.3.1. I've added the "LoadModule" call to my httpd.conf and Apache isn't complaining. I moved my 'test_pr

Re: Help with Django installation on OSX 10.4.10

2007-08-26 Thread Brandon Taylor
Hi Joe, Thanks for your help. I don't know how I missed it before, but I grabbed the Python 2.5.1 Universal installer for OS X and replaced my earlier version. I grabbed the 0.96 tarball and installed it into 2.5.1 and viola, it works! Now I'm on to the first tutorial. I'm very excited to see ho

Re: Help with Django installation on OSX 10.4.10

2007-08-26 Thread Joseph Heck
Use the path settings from my earlier post - that fits perfectly with MacPorts and should do you. -joe On 8/26/07, Brandon Taylor <[EMAIL PROTECTED]> wrote: > > Hi everyone, > > I scrapped my custom install of Python 2.4.4 and Django in favor of an > install from MacPorts. So, now I have Python

Re: Help with Django installation on OSX 10.4.10

2007-08-26 Thread Brandon Taylor
Hi everyone, I scrapped my custom install of Python 2.4.4 and Django in favor of an install from MacPorts. So, now I have Python 2.5.1 and Django installed. But, now when I run python in bash, I get version 2.3.5. Mac Ports has insalled everything to /opt/local/var/macports/software I have djan

Re: Help with Django installation on OSX 10.4.10

2007-08-25 Thread Kenneth Gonsalves
On 26-Aug-07, at 11:51 AM, Brandon Taylor wrote: > -bash: django-admin.py: command not found what happens if you run /usr/local/bin/django-admin.py, that is, with the full path name. If it runs, then it means your path does not contain /usr/local/bin. If it doesnt run, your alias is borked.

Re: Help with Django installation on OSX 10.4.10

2007-08-25 Thread Duc Nguyen
Not sure if this is the solution, but I put my PATH settings in ~/.profile instead of .bash_profile. I didn't make an alias of django_admin.py in /usr/local/bin. I just made sure $DJANGOHOME/bin was part of my PATH. -- Duc On Aug 25, 2007, at 11:21 PM, Brandon Taylor wrote: > > Hi everyon

Re: Help with Django installation on OSX 10.4.10

2007-08-25 Thread Joseph Heck
It is most likely an improper reference in django-admin.py to the location of python - or the "wrong" python. If you invoke python in your terminal, which do you get? BTW: I used the MacPorts install of Python, and I keep the following in my .profile: export PATH=/opt/local/bin:/opt/local/sbin:

Help with Django installation on OSX 10.4.10

2007-08-25 Thread Brandon Taylor
Hi everyone, I'm just getting started with Django/Python. I have installed Python 2.4.4, and Django from the latest build. I can run 'python' and 'import django' from bash and it does not error out, so I'm assuming my installs are correct. I have made an alias of 'django-admin.py' and placed it