Re: multiple views and templates

2009-03-11 Thread Alex Gaynor
On Wed, Mar 11, 2009 at 4:54 PM, AKK wrote: > > Hello, > > I have a number of views and templates and a list of categories which > i get from my models using: > > categories_list = categories.objects.all() > > Since i need to display this in multiple (but not all)

multiple views and templates

2009-03-11 Thread AKK
Hello, I have a number of views and templates and a list of categories which i get from my models using: categories_list = categories.objects.all() Since i need to display this in multiple (but not all) templates is there a better way to achieve this than just putting; categories_list =