On Friday 17 Jul 2009 9:39:41 am James Bennett wrote:
> On Thu, Jul 16, 2009 at 11:01 PM, Kenneth
>
> Gonsalves wrote:
> > how do I pass request.user.id to a templatetag. if I do:
> >
> > {% get_menu request.user.id %}
> >
> > the string 'request..user.id' gets passed.
>
> You handle this by using
On Thu, Jul 16, 2009 at 11:01 PM, Kenneth
Gonsalves wrote:
> how do I pass request.user.id to a templatetag. if I do:
>
> {% get_menu request.user.id %}
>
> the string 'request..user.id' gets passed.
You handle this by using the standard variable-resolution mechanism
inside your tag's Node subcla
hi
how do I pass request.user.id to a templatetag. if I do:
{% get_menu request.user.id %}
the string 'request..user.id' gets passed.
--
regards
kg
http://lawgon.livejournal.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
3 matches
Mail list logo