Maybe this will help you? 

http://stackoverflow.com/questions/6400557/how-can-i-pass-objects-to-a-custom-django-template-tag-i-figured-out-a-way-but

A Filter will support objects, don't use template tags.

Am Mittwoch, 3. Juli 2013 00:24:55 UTC+2 schrieb surya:
>
> I would like to pass object into template tag, then process it.. Is it 
> possible
>
> def my_tag(parser, token):
>    return Node()
>
> The token object seems to be a string!! but how to get some objects??
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to