Re: Using the sites-system with a twist - is it possible?

2008-02-15 Thread Johan Liseborn
On Fri, Feb 15, 2008 at 2:31 PM, Dj Gilcrease <[EMAIL PROTECTED]> wrote: > > On Thu, Feb 14, 2008 at 12:41 PM, Johan Liseborn > <[EMAIL PROTECTED]> wrote: > > I tried your suggested approach, wrote a small middleware class, and > > I actually got it working quite quickly, thanks! > > > >

Re: Using the sites-system with a twist - is it possible?

2008-02-15 Thread Dj Gilcrease
On Thu, Feb 14, 2008 at 12:41 PM, Johan Liseborn <[EMAIL PROTECTED]> wrote: > I tried your suggested approach, wrote a small middleware class, and > I actually got it working quite quickly, thanks! > > The thing I am thinking about now is if there is a way to make the > filtering part more "a

Re: Using the sites-system with a twist - is it possible?

2008-02-14 Thread Johan Liseborn
Malcolm, Thanks for your reply! On Thu, Feb 14, 2008 at 2:55 AM, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > On Wed, 2008-02-13 at 14:52 +0100, Johan Liseborn wrote: > > > while my requirement seems to indicate > > that the "site" (or pseudo-domain) should be decided by the logged in >

Re: Using the sites-system with a twist - is it possible?

2008-02-13 Thread Malcolm Tredinnick
On Wed, 2008-02-13 at 14:52 +0100, Johan Liseborn wrote: [...] > As far as I can tell, the Django site-system relies on the different > sites having different domains, Well not exactly, but close. The idea is one site per settings file. At the moment you can't change that to be more dynamic. It'

Using the sites-system with a twist - is it possible?

2008-02-13 Thread Johan Liseborn
Hi all, I am trying to figure out if I can use Django's sites-system in a small experiment I am conducting. Please bear with me, as I am still struggling to fully understand the sites-system. I am using the svn version of Django (currently rev 7106, I believe). I would like to build a site publi