devel:blueprints:django_template
This is an old revision of the document!
Django templates in NAV
In the future NAV should mainly use Django templates, falling back to cheetah on old subsystems.
Backwards compability
MainTemplate.tmpl in webfront/templates is the main cheetah template. Most other cheetah templates includes this.
Compability with Django templates are done seamless. The MainTemplate includes nav.webfront.compability.Cheetah which provides two methods called footer and header. These two methods are simply printed, and thus the header and footer appears.
devel/blueprints/django_template.1263376813.txt.gz · Last modified: by eide