This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
devel:blueprints:django_template [2010/01/13 12:09] eide |
devel:blueprints:django_template [2010/01/13 12:16] (current) eide a little 'bout the base template |
||
---|---|---|---|
Line 5: | Line 5: | ||
===== Django systems ===== | ===== Django systems ===== | ||
- | Something smart here | + | In the lib-python directory there's a base template, simply called base.html. Subsystems should extend this one (probably with their own base.html) and the base_content block in it. |
+ | |||
+ | base.html provides the header and footer for pages, so subsystems need only contribute the content. | ||
==== Context processors ==== | ==== Context processors ==== |