Use signals for website celery tasks

This commit is contained in:
Jan Dittberner 2023-04-17 19:41:42 +02:00
parent 8e42cb9c18
commit 9fbd608837
5 changed files with 158 additions and 47 deletions

View file

@ -15,3 +15,11 @@ class WebsitesAppConfig(AppConfig):
name = "websites"
verbose_name = _("Websites")
def ready(self):
"""
Takes care of importing the signal handlers of the :py:mod:`websites`
app.
"""
import websites.signals # NOQA