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)
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
2 matches
Mail list logo