bookwyrm/celerywyrm/__init__.py

9 lines
279 B
Python
Raw Permalink Normal View History

2021-03-08 16:49:10 +00:00
""" we need this file to initialize celery """
from __future__ import absolute_import, unicode_literals
# This will make sure the app is always imported when
# Django starts so that shared_task will use this app.
from .celery import app as celery_app
2021-03-08 16:49:10 +00:00
__all__ = ("celery_app",)