django-static-sitemaps
django-static-sitemaps copied to clipboard
Tool for generating sitemaps as static files to serve them from webserver instead of your Django application.
Hi! We use in our projects Celery. Current Celery version 5.2.7. And celery-task of this subject is not starting automatically. What is reason?
https://developers.google.com/search/blog/2023/06/sitemaps-lastmod-ping [`tasks.GenerateSitemap`][1] now throws ```HTTP Error 404: Sitemaps ping is deprecated. See https://developers.google.com/search/blog/2023/06/sitemaps-lastmod-ping.``` [1]: https://github.com/xaralis/django-static-sitemaps/blob/master/static_sitemaps/tasks.py#L13
Added support for Django 5.0 - [x] removed ping google ([docs](https://docs.djangoproject.com/en/5.0/releases/5.0/#django-contrib-sitemaps))
Is it possible to run without Celery installed? ``` app_1 | File "/usr/local/lib/python3.7/site-packages/static_sitemaps/tasks.py", line 3, in app_1 | from celery import Task app_1 | ModuleNotFoundError: No module named 'celery' ```
Hi, I am again running into something resembling issue #19 , it looks like the directory to STATICSITEMAPS_ROOT cannot be absolute with the current setup. I don't think there is...
My project uses django-static-sitemaps, but it crashed if celery is not installed. I made a small change do Celery becomes optional.