Inclusion tags sound good, but I'm not sure how it could solve my problem. In my template I would like to use an inclusion tag this way:
###template {% showTag 'tagName' %} #### ###inclusion tag @register.inclusion_tag('tag.html') def showTag(tagname): #... #### ###tag.html <p>bla</p> #### But how can the inclusion-tag load the tag based on the name that is passed to it? 2B --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---