Have you tried the steps described here:
http://code.google.com/p/modwsgi/wiki/VirtualEnvironments ?

Colin

On Tue, Sep 14, 2010 at 10:44 PM, Jagdeep Singh Malhi
<[email protected]> wrote:
> I am try to use Multiple version of Django on same machine.
> I am using the Virtual Python Environment builder (virtualenv 1.5). I
> am able to install this using documentation.
> http://pypi.python.org/pypi/virtualenv#downloads
>
> but now i am facing problem with mod-wsgi.
> i am not able to understand how mod-wsgi work with virtualenv.
> when i try this, it use the same python , not created by virtualenv
>
> file used for virtualenv is:- django.wsgi
> {
> import os
> import sys
>
> os.environ['DJANGO_SETTINGS_MODULE'] = 'djangocms.settings'
>
> import django.core.handlers.wsgi
> application = django.core.handlers.wsgi.WSGIHandler()
> sys.path.append('/home/jagdeep/')
> }
>
> Actually, I want mod-wsgi is working with different version of Django.
> Now, what i can do?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to [email protected].
> 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.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
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