Re: merge 2 views?

2011-01-01 Thread Thom van Ledden
; Seems to work perfectly! > > thanks much! > > > On 29 dec, 18:51, Michael wrote: > >> Look into context processors, that sounds like what you need. > > >>http://docs.djangoproject.com/en/dev/ref/templates/api/#subclassing-c... > >> -- > &g

Re: merge 2 views?

2010-12-29 Thread Thom van Ledden
y.objects.all(), } Seems to work perfectly! thanks much! On 29 dec, 18:51, Michael wrote: > Look into context processors, that sounds like what you need. > > http://docs.djangoproject.com/en/dev/ref/templates/api/#subclassing-c... > -- > Michael > > On Wed, 2010-12-29

merge 2 views?

2010-12-29 Thread Thom van Ledden
Hi django developers, Ive got a seperate navigation.html file which need to be rendered on each page, but the page need some vars for that. how can i get those vars to be defined just only once? my idea: the main_page should add the vars for the navigation, and the views of the content pages will