Files
thrilltrack-explorer/django-backend/config/__init__.py

12 lines
261 B
Python

"""
ThrillWiki Django configuration package.
This module ensures the Celery app is loaded when Django starts
so that @shared_task decorators can use it.
"""
# Load Celery app when Django starts
from .celery import app as celery_app
__all__ = ('celery_app',)