Hi folks,

I'm having some trouble getting a directory onto my pythonpath. I'm
sure I'm missing something obvious here.

On my server, I have a directory with my django work called redfence.
Inside is my project, along with a folder called 'apps' holding all my
personal and third party apps. It's the apps folder I can't seem to
get python to recognize.

Redfence shows up, and the main project folder, redfenceproject,
imports fine. But apps doesn't and I need to be able to put modules
there.

Here's what I have in a vhost.conf file:

<Location "/">
    SetHandler python-program
    PythonHandler django.core.handlers.modpython
    SetEnv DJANGO_SETTINGS_MODULE redfenceproject.settings
    PythonOption django.root /
    PythonDebug On
    PythonPath "['/.../redfence/apps', '/.../redfence'] + sys.path"
    SetEnv PYTHON_EGG_CACHE /var/www/vhosts/
redfenceproject.com/.python-eggs
</Location>

Any help is much appreciated.

Chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to