On Tue, 2008-07-01 at 20:44 -0700, Yosifov Pavel wrote:
> I made own tags. Sometimes I want to "rendering" arguments (when
> arguments of the tag are Django-template-expressions). So, I use
> template.render() method. All is OK but it's look like this:
>
> {% some_tag {{var}} %}
You can put whatever you want into your own custom tags, but this won't
work for normal Django tags. The {{...}} is only used to display the
contents of a variable in a template.
> but in built-in tags this is usually without {{..}}:
> {% builtin_tag var %}
This is the way variables are passed to tags.
Malcolm
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---