On Wed, Jan 14, 2009 at 9:28 PM, izzy_dizzy wrote:
>
> Hi,
>
> I'm new to django and I would like to know how to make request.user
> objects available in context of base.html template. I wonder if
> someone can give me a full code for a custom template tag for it.
>
Hi,
You need this template c
Hi,
I'm new to django and I would like to know how to make request.user
objects available in context of base.html template. I wonder if
someone can give me a full code for a custom template tag for it.
Thanks in advance
--~--~-~--~~~---~--~~
You received this mes
ges extent base.html, so in my readme.html:
{% extends "base.html" %}
...
I hope it helps.
Cheers,
Alan
On Wed, Jan 14, 2009 at 07:15, izzy_dizzy wrote:
>
> Hi all,
>
> I'm having a hard time on how to use request.user objects in
> base.html. I know that we can us
Hi all,
I'm having a hard time on how to use request.user objects in
base.html. I know that we can use requestcontext to be able to render
request.user and its objects on a given template but I would like
someone help me to be able to use it on base.html like:
{% if user.is_authenticated%
4 matches
Mail list logo