Your apache config can be something like this
Location /path1/
SetHandler python-program
PythonHandler django_project_1_frontend
PythonInterpreter django_project_1
PythonOption django.root /path1
SetEnv DJANGO_SETTINGS_MODULE apps.settings
PythonDebug On
PythonPath
On Wed, Dec 1, 2010 at 11:40 AM, Anubha Dadhich sethi.anu...@gmail.comwrote:
Hi,
Can two django projects be made to communicate with each other and share
the same session, user_authentication etc., either at the application level
or at the production server level (say apache)
Explaining
Yes you can, we do something like what you mentioned.
If both projects share the database, and are on the same domain (ie they
share the cookie) then you can login in one and be authenticated in the
other. Both projects need to be configured to use the same auth backend (its
like this by default)
On Wed, Dec 1, 2010 at 4:14 PM, Siddharta G siddharta.li...@gmail.comwrote:
Yes you can, we do something like what you mentioned.
If both projects share the database, and are on the same domain (ie they
share the cookie) then you can login in one and be authenticated in the
other. Both
If I understand what you are saying,
You have 2 different projects in django, (in different repos) and you don't
want to have user logged in, in each site.
The *simplest* way to solve this is to configure the django.contrib.auth of
both the projects to use the same database. - And yes, it is a
On Wed, Dec 1, 2010 at 5:16 PM, Lakshman Prasad scorpion...@gmail.comwrote:
If I understand what you are saying,
You have 2 different projects in django, (in different repos) and you don't
want to have user logged in, in each site.
They are in the same repository. Yes we do not want user to
If you have 2 base urls.py, I think correspondingly, you also need 2
settings.py and hence 2 WSGI files.
As far as I know, each Apache virtualhost can only take 1 WSGIProcess. So
you will need 2 apache processes. - I might be wrong on this, and there
might be a better way.
The best way, I can
On Wed, Dec 1, 2010 at 5:59 PM, Lakshman Prasad scorpion...@gmail.comwrote:
If you have 2 base urls.py, I think correspondingly, you also need 2
settings.py and hence 2 WSGI files.
As far as I know, each Apache virtualhost can only take 1 WSGIProcess. So
you will need 2 apache processes. - I
Hi,
Can two django projects be made to communicate with each other and share
the same session, user_authentication etc., either at the application level
or at the production server level (say apache)
Explaining it further -
Say there are two django projects, with different settings file, but