I am trying to learn Django to convert a site where I use php + python
cgi scripts. For consistent layout i would use php's include statement
for headers and footers on the old site. It is mentioned the Django
book that something similar exists for Django. Suppose i want to
create a home page (index.html). What would i need to do exactly to
get the following to work?

{% include("design/index_nav.html") %}
Welcome to the home page
{% include("design/footer.html") %}

If you have suggestion for better solutions with templates i'd luv to
hear them.

Thanks,

Vincent


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to