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 because 
(like contrib.admin, but that's another can of worms) it was made before 
class-based views, so it doesn't have the notion of creating a new instance 
for each request.

So my question is this, if I created a class-based version of sitemaps 
(django.contrib.sitemaps_cbv or whatever), would that pull request be 
something you would have interest in merging? Or do you consider the 
existing sitemaps are good enough, and you don't want to have support 
something new (for example, rewriting all the docs)?

Thanks,

— Carl Johnson 

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/3ed7a856-4458-4f20-b146-0275a488bb70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to