Aaron Fay wrote on 02/04/08 21:21:
> Hi list,
> 
> I have a custom template tag that is supposed to take an argument from 
> the template kinda like this: {% profile_user_id object_id %}, problem 
> is 'object_id' is literally showing up as 'object_id' and not 5 or 
> whatever it's supposed to be.  I think the issue is I'm working within 
> the context or something (no idea really)...

Read about resolve_variable at
http://www.djangoproject.com/documentation/templates_python/#passing-template-variables-to-the-tag

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to