Closed digitaltommy closed 6 years ago
Yeah, that seems to do the job. Can you make it a pull request? Thx
For the record: django-static-sitemaps
are not here to serve your static files. Use django.contrib.staticfiles for that. static_sitemaps
only include root sitemap.xml
for your convinience, but will not replicate behavior of Django staticfiles
app.
I believe the current URL patterns don't pickup the compressed xml files, altering the include urls to the following solved the problem for me (just added the last line).
Please let me know if I've missed something or made a mistake.
Thanks, Tom