Re: login_required redirects to a specific url

2009-09-28 Thread V
-us...@googlegroups.com] > > On Behalf Of V > Sent: Sunday, September 27, 2009 9:21 PM > To: Django users > Subject: Re: login_required redirects to a specific url > > but that's a site wide setting, and I would like to have a different > url for a specific view only > >

RE: login_required redirects to a specific url

2009-09-27 Thread Сергей Зигачев
, September 27, 2009 9:21 PM To: Django users Subject: Re: login_required redirects to a specific url but that's a site wide setting, and I would like to have a different url for a specific view only V On Sep 27, 3:41 pm, "Сергей Зигачев" <root.sig...@googlemail.com> wrote: &

Re: login_required redirects to a specific url

2009-09-27 Thread V
; > As you can see, you need to implement the LOGIN_URL value in your > settings.py file. > > From: django-users@googlegroups.com [mailto:django-us...@googlegroups.com] > On Behalf Of }--o > Sent: Sunday, September 27, 2009 7:18 PM > To: django-users > Subject: login_requir

RE: login_required redirects to a specific url

2009-09-27 Thread Сергей Зигачев
7:18 PM To: django-users Subject: login_required redirects to a specific url Hi, I'm using the login_required decorator extensively, but have one view where instead of the default landing page ('accounts/login') I would like to redirect it to a specific page. Is there a simple way to do

login_required redirects to a specific url

2009-09-27 Thread }--o
Hi, I'm using the login_required decorator extensively, but have one view where instead of the default landing page ('accounts/login') I would like to redirect it to a specific page. Is there a simple way to do this? Viktor --~--~-~--~~~---~--~~ You received this