Re: Can base.html template contain dynamic content if used by direct_to_template

2009-06-25 Thread Pete-Sitedesign
OK Thanks for that. I have worked out that the context_processors route is best for this one but the template_tags is ideal for another part I was working on. Thanks for the help. Regards Pete On Jun 25, 9:29 pm, Alex Gaynor wrote: > On Thu, Jun 25, 2009 at 3:27 PM, Pete-Sitedesign < > > > > p

Re: Can base.html template contain dynamic content if used by direct_to_template

2009-06-25 Thread Alex Gaynor
On Thu, Jun 25, 2009 at 3:27 PM, Pete-Sitedesign < peter.king.sitedes...@googlemail.com> wrote: > > On Jun 25, 9:22 pm, Alex Gaynor wrote: > > On Thu, Jun 25, 2009 at 12:23 PM, Pete-Sitedesign < > > > > peter.king.sitedes...@googlemail.com> wrote: > > > > > I want to build a site which has latest

Re: Can base.html template contain dynamic content if used by direct_to_template

2009-06-25 Thread Pete-Sitedesign
On Jun 25, 9:22 pm, Alex Gaynor wrote: > On Thu, Jun 25, 2009 at 12:23 PM, Pete-Sitedesign < > > peter.king.sitedes...@googlemail.com> wrote: > > > I want to build a site which has latest news on the side of all the > > pages, I wanted to build the pages using simple templates (static > > content

Re: Can base.html template contain dynamic content if used by direct_to_template

2009-06-25 Thread Alex Gaynor
On Thu, Jun 25, 2009 at 12:23 PM, Pete-Sitedesign < peter.king.sitedes...@googlemail.com> wrote: > > I want to build a site which has latest news on the side of all the > pages, I wanted to build the pages using simple templates (static > content) and then reference them using the direct_to_templa

Can base.html template contain dynamic content if used by direct_to_template

2009-06-25 Thread Pete-Sitedesign
I want to build a site which has latest news on the side of all the pages, I wanted to build the pages using simple templates (static content) and then reference them using the direct_to_template in the urls file. Since each template extends base how can I get base to contain the latest news or d