Re: Common data in templates

2008-06-25 Thread Brian Luft
Try these links: http://www.djangoproject.com/documentation/templates_python/#subclassing-context-requestcontext http://www.djangoproject.com/documentation/templates_python/#writing-your-own-context-processors -Brian On Jun 25, 11:51 am, Juanjo Conti <[EMAIL PROTECTED]> wrote: > I have this pr

Common data in templates

2008-06-25 Thread Juanjo Conti
I have this problem I'd like to share with you. Supose that the name of a web site is storage in the database (let's say you have the Config model). Config.objects.get(id=1).site_name How do you show that name in all your web pages? Do you have to pass it from all your views while render_to_re