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),
>
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),
>
2 matches
Mail list logo