Help:
Chapter 4: The Django Template System
http://www.djangobook.com/en/1.0/chapter04/
This example includes the contents of the template whose name is
contained in the variable template_name:
{% include template_name %}
All i'm trying to do is dynamically include a html template file
This works just fine:
{% include "FooterMessage.htm" %}
This will NOT work for me:
{% include "{{inpage.footer}}" %}
(I know that inpage.footer == "FooterMessage.htm")
--
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.