akarpov/config/__init__.py

6 lines
178 B
Python
Raw Permalink Normal View History

2022-11-23 11:41:43 +03:00
# This will make sure the app is always imported when
# Django starts so that shared_task will use this app.
from .celery_app import app as celery_app
__all__ = ("celery_app",)