On 20/07/10 22:57, owidjaya wrote:
> how can i pass a filtered value to a custom tag?
>
> ie
> if i do this
>
>
> {% somecustomtag template_variable|lower %}
>
The django sources for the standard tags show the method, make
sure you are calling parser.compile_filter() on the relevant arg.
http://code.djangoproject.com/browser/django/trunk/django/template/defaulttags.py#L709
http://code.djangoproject.com/ticket/5756
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
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.