Re: Multiple querysets for dictionary

2010-03-25 Thread pakalk
On 25 Mar, 17:27, grimmus wrote: > Hi, > > For my xml sitemap i would like to show blog posts and pages from the > CMS. How can i pass 2 querysets to the dictionary ? > > What i have so far is below, it's obviously wrong :-( > > info_dict = { >     'queryset': Page.objects.filter(active=1), >  

Re: Multiple querysets for dictionary

2010-03-25 Thread Daniel Roseman
On Mar 25, 4:27 pm, grimmus wrote: > Hi, > > For my xml sitemap i would like to show blog posts and pages from the > CMS. How can i pass 2 querysets to the dictionary ? > > What i have so far is below, it's obviously wrong :-( > > info_dict = { >     'queryset': Page.objects.filter(active=1), >