mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-22 03:51:12 -05:00
Refactor code structure and remove redundant changes
This commit is contained in:
11
django-backend/config/__init__.py
Normal file
11
django-backend/config/__init__.py
Normal file
@@ -0,0 +1,11 @@
|
||||
"""
|
||||
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',)
|
||||
Reference in New Issue
Block a user