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.
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
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
; [...]
> > > 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
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.
>
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
> >
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
;
> 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
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
9 matches
Mail list logo