On 25 Mar, 17:27, grimmus <graham.col...@gmail.com> 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), > 'queryset': Entry.objects.filter(status=1), > 'date_field': 'pub_date', > > } > > Thanks for any help
You can use one key twice. Wow. Respect. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.