Re: Different Django instances running on the same server

2010-08-13 Thread John Pencola
Rick, Absolutely! You'll want to take a look at installing virtualenv on that server. By running separate Python virtual environments you can install different modules and versions of those modules in "isolation" and then instruct your web server to reference a specific virtualenv. Here are a coup

Re: Different Django instances running on the same server

2010-08-13 Thread buddhasystem
Hello there, sure it can also be done, but it's hardly worth the effort imho. Just let these sit on two different ports and inform the client. If you are still compelled to redirect requests based on origin while using one external port, it's doable from inside Django as well -- you look at the r

Re: Different Django instances running on the same server

2010-08-13 Thread Steve Holden
On 8/13/2010 1:09 PM, buddhasystem wrote: > CLIFFORD ILKAY wrote: >> >> On 08/12/2010 12:18 PM, Rick Caudill wrote: >>> Hi, >>> >>> Is it possible to run Django 1.1 and Django 1.2 on the same server? I >>> have some legacy apps that I need to port to 1.2 but until then I would >>> still like to ru

Re: Different Django instances running on the same server

2010-08-13 Thread buddhasystem
I think it's even simpler than this. When configuring your Apache, you specify a few different virtual hosts listening on different ports. For each host, you give a different PYTHONPAH. And that's it. CLIFFORD ILKAY wrote: > > On 08/12/2010 12:18 PM, Rick Caudill wrote: >> Hi, >> >> Is it poss

Re: Different Django instances running on the same server

2010-08-12 Thread CLIFFORD ILKAY
On 08/12/2010 12:18 PM, Rick Caudill wrote: Hi, Is it possible to run Django 1.1 and Django 1.2 on the same server? I have some legacy apps that I need to port to 1.2 but until then I would still like to run 1.1 and also at the same time run 1.2 for some new apps. Is this possible If you