Re: 1 django Project / 2 designs

2008-04-17 Thread Michael
You could also just utilize your view code for the two so you don't need to change urls. def index(request): ... # code here that determines whether you want the winterview or summerview if summerview: return summerview(request) elif winterview: return winterview(request) wh

Re: 1 django Project / 2 designs

2008-04-17 Thread Massimiliano Ravelli
On 15 Apr, 10:41, martyn <[EMAIL PROTECTED]> wrote: > I want a default saison (that could be stored in my settings file). > It's not only a different design but it's also a different content > sometimes. > > Is this can be done with middleware ? session ? > I don't really know this aspect of dja

1 django Project / 2 designs

2008-04-15 Thread martyn
Hi, I can't solve my problem, I have a site that can contain 2 designs (summer / winter). Ideally, My urls are : http://domain.com/winter/ http://domain.com/summer/ But when I go to http://domain.com/ I want a default saison (that could be stored in my settings file). It's not only a different