Another option is to use template tags. Different apps can provide
template tags that can be embedded in other pages.
Specifically, inclusion tags basically render a stub template with
their own context, so something like a polls app, for example, could
render a poll form wherever you do {% show_
Have a look at template inheritance
http://www.djangoproject.com/documentation/templates/#template-inheritance
This may give you more of any idea of how to structure your main
template.
[EMAIL PROTECTED] wrote:
> I'm a web developer and I'm developing my first application using
> Django. I'm
Extend your base(master) template and write a context processor for
your common data, or pass context varibales into your template. But
I'd suggest you to use context processors.
On Sep 12, 7:35 pm, [EMAIL PROTECTED] wrote:
> I'm a web developer and I'm developing my first application using
> Dja
3 matches
Mail list logo