[BangPypers] Can two django projects be made to communicate to each other

Anubha Dadhich sethi.anubha at gmail.com
Wed Dec 1 11:59:28 CET 2010

On Wed, Dec 1, 2010 at 4:14 PM, Siddharta G <siddharta.lists at gmail.com>wrote:

> 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)
> If they are separate domains or servers and database is not shared then you
> need more complicated solutions like OAuth that Sidu mentioned.
> For the second part of your question about ports:
> Yes, in Apache, you can run multiple projects off a single port. Our system
> is set up so that http://host/project1 goes to project1 and
> http://host/project2 goes to project2.
> You can also setup the system so that you have a frontend apache server
> which routes to other apache servers on different ports, like this
> -> Apache port 80
>          /project1  ->  Apache port 8080 -> Django project 1
>          /project2  ->  Apache port 8081 -> Django project 2
Thanks for your reply. Can u plz provide me with a few links that would help
me in configuring my application/apache in the way u mentioned above.

> Siddharta
> http://ToolsForAgile.com
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers

More information about the BangPypers mailing list