Use signals for website celery tasks
This commit is contained in:
parent
8e42cb9c18
commit
9fbd608837
5 changed files with 158 additions and 47 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue