Re: Extranet : Complete project behind login?

2009-12-17 Thread Niels
Thanks a lot. That works. Great. On Dec 16, 5:07 pm, Shawn Milochik wrote: > You can do it easily with middleware. > > Here's what I wrote for this exact purpose:http://pastebin.com/f52e6ef04 > > You will have to add it to MIDDLEWARE_CLASSES in your settings.py. > > Shawn

Re: Extranet : Complete project behind login?

2009-12-16 Thread Matt Schinckel
On Dec 17, 2:07 am, Shawn Milochik wrote: > You can do it easily with middleware. > > Here's what I wrote for this exact purpose:http://pastebin.com/f52e6ef04 > > You will have to add it to MIDDLEWARE_CLASSES in your settings.py. I use a similar middleware for putting the

Re: Extranet : Complete project behind login?

2009-12-16 Thread Shawn Milochik
You can do it easily with middleware. Here's what I wrote for this exact purpose: http://pastebin.com/f52e6ef04 You will have to add it to MIDDLEWARE_CLASSES in your settings.py. Shawn -- You received this message because you are subscribed to the Google Groups "Django users" group. To post

Re: Extranet : Complete project behind login?

2009-12-16 Thread Maksymus007
On Wed, Dec 16, 2009 at 4:53 PM, Niels wrote: > We're developing an extranet. > > What is the best (and easiest) way to put a complete project behind a > login? > > I don't want to add @login_required to all views > > > Thanks, > > > Niels custom context processor?

Extranet : Complete project behind login?

2009-12-16 Thread Niels
We're developing an extranet. What is the best (and easiest) way to put a complete project behind a login? I don't want to add @login_required to all views Thanks, Niels -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this