On Friday 17 Jul 2009 9:39:41 am James Bennett wrote:
> On Thu, Jul 16, 2009 at 11:01 PM, Kenneth
>
> Gonsalves<law...@thenilgiris.com> 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 subclass; consult the documentation on custom
> tags for details.

thanks - just what I needed
-- 
regards
kg
http://lawgon.livejournal.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to