sometimes extending the template system with application specific tags
solves my problem. YMMV of course.
On May 2, 1:49 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I've got a lot of templates with the same pattern, so i want to put
> some code like this in a template.
>
> {% if iterable %}
> {% for variable in iterable %}
> <{{tag}}> something </{{tag}}>
> {% endfor %}
>
> Is it posible to send the {{tag}} variable as a parameter from
> another template (where i use the include tag) ?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---