2025-10-06 15:13:59 +03:00

11 lines
277 B
Python

# to make sure that the celery loads whenever in run my project
#Celery app is loaded and configured as soon as Django starts.
from .celery import app as celery_app
# so that the @shared_task decorator will use this app in all the tasks.py files
__all__ = ('celery_app',)