Re: user object in login.html

2009-05-23 Thread Mike Ramirez
On Saturday 23 May 2009 02:10:17 pm Rok wrote: > Tried, but still no luck. Is it enough just to set > TEMPLATE_CONTEXT_PROCESSORS or should I add something else? Should be, here is the relative doc page for it.

Re: user object in login.html

2009-05-23 Thread Rok
On 23 maj, 21:28, Mike Ramirez wrote: > On Saturday 23 May 2009 11:53:08 am Rok wrote: > > > I am using @login_required decorator, where "I" do not have to write > > my login view, since decorator does everything "I" want. When user is > > not logged in it gets redirected to

Re: user object in login.html

2009-05-23 Thread Mike Ramirez
On Saturday 23 May 2009 11:53:08 am Rok wrote: > I am using @login_required decorator, where "I" do not have to write > my login view, since decorator does everything "I" want. When user is > not logged in it gets redirected to LOGIN_URL where he can login, when > he request URL/view which has

Re: user object in login.html

2009-05-23 Thread Rok
; [...] > > > It's your responsibility to provide the login form in a template > > > called registration/login.html by default. This template gets passed > > > four template context variables:[...] > > > > Source:http://docs.djangoproject.com/en/dev/topics/au

Re: user object in login.html

2009-05-19 Thread Jon
template gets passed > > > four template context variables:[...] > > > > Source:http://docs.djangoproject.com/en/dev/topics/auth/ > > > > If this doesn't answer your question, please be more specific about > > > the context. >

Re: user object in login.html

2009-05-19 Thread Jon
m in a template > > called registration/login.html by default. This template gets passed > > four template context variables:[...] > > > Source:http://docs.djangoproject.com/en/dev/topics/auth/ > > > If this doesn't answer your question, please be more specific about > >

Re: user object in login.html

2009-05-19 Thread Rok
pics/auth/ > > If this doesn't answer your question, please be more specific about > the context. > > On Tue, May 19u, 2009 at 1:44 AM, Rok <rjak...@gmail.com> wrote: > > > Hello. > > > Is it possible to use user object in login.html when @login_required > > is u

Re: user object in login.html

2009-05-18 Thread jon michaels
; > Is it possible to use user object in login.html when @login_required > is used? I want to display login fields only when user is ianonymous. > > Thank you. > > Kind regards, > > Rok > > > > --~--~-~--~~~---~--~~ You received this m

user object in login.html

2009-05-18 Thread Rok
Hello. Is it possible to use user object in login.html when @login_required is used? I want to display login fields only when user is ianonymous. Thank you. Kind regards, Rok --~--~-~--~~~---~--~~ You received this message because you are subscribed