Mysterious Path Issue Django & Apache

2011-07-29 Thread Devon Young
I apologize in advance if this is actually a stupid question, but I'm thoroughly stumped since yesterday about this. First, it should be noted I come from a PHP background with a little experience in Perl, and I'm learning Python since Sunday. Also, I'm using: Python 2.7 Apache 2 (with mod_wsgi)

Re: Mysterious Path Issue Django & Apache

2011-07-29 Thread Devon Young
I think I'm adding the directories to sys.path correctly. For example, in my wsgi file, this works: path = '/home/devon/django-projects/' if path not in sys.path: sys.path.append(path) ...but if I change the path value like this, then Apache gives a 500 server error: path = '/home/devon/code