Django Mutlisite Setup

2011-02-13 Thread Jason Drane
Forgive me if this question offends you more advanced users. I am begun down the road of learning Django. I am curious if it is possible to place Django in the root of my server and reference it to each of multiple sites in development, similar to php, python, etc. -- You received this message b

Re: Django Mutlisite Setup

2011-02-13 Thread Shawn Milochik
It doesn't work that way with Django. You run each Django project on a different port, and your Web server (nginx, apache, whatever) forwards incoming traffic to the correct port. Your Python code (all Django is Python) should never be accessible via your Web server. Your Django app will run as a

Re: Django Mutlisite Setup

2011-02-13 Thread Mike Dewhirst
On 14/02/2011 2:08pm, Jason Drane wrote: Forgive me if this question offends you more advanced users. I am begun down the road of learning Django. I am curious if it is possible to place Django in the root of my server and reference it to each of multiple sites in development, similar to php, py

Re: Django Mutlisite Setup

2011-02-13 Thread Ethan Yandow
I am offended On Sun, Feb 13, 2011 at 10:20 PM, Mike Dewhirst wrote: > On 14/02/2011 2:08pm, Jason Drane wrote: > >> Forgive me if this question offends you more advanced users. I am >> begun down the road of learning Django. I am curious if it is possible >> to place Django in the root of my se

Re: Django Mutlisite Setup

2011-02-13 Thread Eric Chamberlain
On Feb 13, 2011, at 7:08 PM, Jason Drane wrote: > Forgive me if this question offends you more advanced users. I am > begun down the road of learning Django. I am curious if it is possible > to place Django in the root of my server and reference it to each of > multiple sites in development, sim

Re: Django Mutlisite Setup

2011-02-13 Thread Brian Bouterse
virtualenv is great and I use it religiously. I do want to point out though that while virtualenv does solve package isolation for multiple, independent django projects, care needs to be taken for security. If this care isn't taken, for example, should a single site's security be compromised, ess

Re: Django Mutlisite Setup

2011-02-15 Thread Aryeh Leib Taurog
On Feb 14, 5:08 am, Jason Drane wrote: > Forgive me if this question  offends you more advanced users. I am > begun down the road of learning Django. I am curious if it is possible > to place Django in the root of my server and reference it to each of > multiple sites in development, similar to ph

Re: Django Mutlisite Setup

2011-02-15 Thread Cal Leeming [Simplicity Media Ltd]
Might also want to try django multihost :) On Tue, Feb 15, 2011 at 9:58 AM, Aryeh Leib Taurog wrote: > On Feb 14, 5:08 am, Jason Drane wrote: > > Forgive me if this question offends you more advanced users. I am > > begun down the road of learning Django. I am curious if it is possible > > to p