Re: make an object available to all views and blocks

2010-01-08 Thread creecode
Hello Kevin, On Jan 8, 3:32 am, Kevin Coyner wrote: > Normally, when I call a view, I can retrieve an object and pass it to > the html page via the dictionary in render_to_response. But in my site > I need that same object in the sidebar of every rendering of the > website. Would a custom conte

Re: make an object available to all views and blocks

2010-01-08 Thread Daniel Roseman
On Jan 8, 11:32 am, Kevin Coyner wrote: > Using template inheritance via base.html, I am creating a simple > two-column site with a "content" and "sidebar" block.  The inheritance > feature works as expected. Basic html is inherited in my sidebar from > base.html and can be written over in the sid

make an object available to all views and blocks

2010-01-08 Thread Kevin Coyner
Using template inheritance via base.html, I am creating a simple two-column site with a "content" and "sidebar" block. The inheritance feature works as expected. Basic html is inherited in my sidebar from base.html and can be written over in the sidebar block if so desired. However, I'm perplexed