On Tue, Mar 4, 2014 at 7:11 PM, Daniel Roseman <[email protected]> wrote:
> That's why, as everyone keeps telling you, you need
> to activate the virtualenv in your server, which is normally done in the
> wsgi file.

Is it? I keep my wsgi.py exactly as startproject created it, I set
python-path when setting WSGIDaemonProcess in httpd.conf, eg (1.6
layout):

WSGIScriptAlias / /usr/local/mediabox/source/mediabox/wsgi.py
WSGIDaemonProcess mediabox.foo.com
python-path=/usr/local/mediabox/source:/usr/local/mediabox/env_mediabox/lib/python2.7/site-packages
WSGIProcessGroup mediabox.nubtek.com

Cheers

Tom

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFHbX1LVeCrNqeY3m8KJoZo8%3D6hDDCDd2R%2BsjFg3vbq7SCkv4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to