Additional arguments for url lookup in sitemap index

2020-05-26 Thread Sandro Covo
Hello, I'm trying to add sitemaps on a per object base to my project. I have created a wrapper around sitemaps.views.sitemap that captures additional parameters to get the object and create the required sitemap. But I can't create a sitemap index, since the index views tries to resolve the site

Re: Additional arguments for url lookup in sitemap index

2020-05-26 Thread Sandro Covo
ge.slug] = EventSitemap(event_page) for category_page in top_page.descendants(include_self=True).filter( application='categories'): sitemaps[category_page.slug] = CategorySitemap(category_page) return sitemap_view( request, sitemaps, ) So under one path live

Re: Improvements to the startproject template

2022-04-21 Thread Sandro Covo
As there are different preferences and some see the change as worse than the default and there is already a way to change the template for startproject, wouldn't it be easier to provide different templates and list them in the documentation, so that they can be used with the --template argume