Re: passing request.user.id to a template tag

2009-07-16 Thread Kenneth Gonsalves
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

Re: passing request.user.id to a template tag

2009-07-16 Thread James Bennett
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

passing request.user.id to a template tag

2009-07-16 Thread Kenneth Gonsalves
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