>
> I'm trying to add sitemaps on a per object base to my project.

Can you explain this a little more? I don't follow what sitemap structure
you're pursuing that's different to the default, nor why.

On Tue, 26 May 2020 at 09:24, Sandro Covo <san...@covo.ch> wrote:

> 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 sitemap
> view with only the section parameter.
>
> The solution would be to allow additional parameters to the
> sitemaps.views.index function that would be used in the lookup for the
> section-urls. I created a branch and tried to implement this here:
> https://github.com/django/django/commit/d4ee80daabcf9af4e7cfe6b966522849e8018224
>
> Not sure how to proceed from here, if you think that's ok I think I'll
> create a pull request?
>
> Best regards
> Sandro
>
> --
> 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 django-developers+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-developers/b74b4fe0-3479-4363-8169-0d5fe2ac122a%40googlegroups.com
> <https://groups.google.com/d/msgid/django-developers/b74b4fe0-3479-4363-8169-0d5fe2ac122a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Adam

-- 
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 django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/CAMyDDM2TzZDfi0%2BnYAMLS7KEYdau-ENkfevHCpXMv4uwueoriQ%40mail.gmail.com.

Reply via email to