django-static-sitemaps
django-static-sitemaps copied to clipboard
celery 5 removed previsouly deprecated celery.task module
Using celery 5 with latest django-static-sitemaps doesn't work. In celery 4, the celery.tasks module was deprecated and then removed in version 5. You might be able to simply replace:
tasks.py:
from celery.task import PeriodicTask
with
from celery import Task
and
class GenerateSitemap(PeriodicTask):
with
class GenerateSitemap(Task):
I haven't tested this.
I fixed it on a fork. You can install it using:
pip install git+https://github.com/salvacarrion/django-static-sitemaps.git@master