Re: multiple models in object_list

2008-11-04 Thread John M
Thanks for the info. Turns out that I was looking at the wrong bit of code (gr), and wasted 2hrs of my day. John On Nov 4, 2:36 pm, "Matías Costa" <[EMAIL PROTECTED]> wrote: > On Tue, Nov 4, 2008 at 8:37 PM, John M <[EMAIL PROTECTED]> wrote: > > > I'm trying to figure out how I can use more

Re: multiple models in object_list

2008-11-04 Thread Matías Costa
On Tue, Nov 4, 2008 at 8:37 PM, John M <[EMAIL PROTECTED]> wrote: > > I'm trying to figure out how I can use more than one model with a call > to object_list generic view. > http://www.djangosnippets.org/snippets/1103/ --~--~-~--~~~---~--~~ You received this messa

multiple models in object_list

2008-11-04 Thread John M
I'm trying to figure out how I can use more than one model with a call to object_list generic view. currently I have this.. objectlist_dict = {'queryset' : Report.reports.all(), 'extra_context' : {'category_list' : Category.objects.all() },