Re: CBV contrib.sitemaps

2015-12-21 Thread Carl Johnson
On Tuesday, December 15, 2015 at 6:35:06 PM UTC-5, Shai Berger wrote: > > Hi Carl, > > On Tuesday 15 December 2015 18:17:36 Carl Johnson wrote: > > I was adding a sitemap to a project, and I more or less had to rewrite > the > > views from scratch because sitemap expects to receive a dictiona

Re: CBV contrib.sitemaps

2015-12-15 Thread Shai Berger
I meant to add: [1] https://docs.djangoproject.com/en/1.9/ref/contrib/sitemaps/#sitemap-classes On Wednesday 16 December 2015 01:34:45 Shai Berger wrote: > Hi Carl, > > On Tuesday 15 December 2015 18:17:36 Carl Johnson wrote: > > I was adding a sitemap to a project, and I more or less had to rew

Re: CBV contrib.sitemaps

2015-12-15 Thread Shai Berger
Hi Carl, On Tuesday 15 December 2015 18:17:36 Carl Johnson wrote: > I was adding a sitemap to a project, and I more or less had to rewrite the > views from scratch because sitemap expects to receive a dictionary of all > possible pages at start up time, [...] This seems to be a misrepresentation;

CBV contrib.sitemaps

2015-12-15 Thread Carl Johnson
I was adding a sitemap to a project, and I more or less had to rewrite the views from scratch because sitemap expects to receive a dictionary of all possible pages at start up time, which for various reasons I didn't want to have to provide. In general extending sitemaps is pretty difficult beca