11 lines
272 B
Python
11 lines
272 B
Python
"""
|
||
Celery configuration.
|
||
This ensures the Celery app is loaded when Django starts.
|
||
"""
|
||
from .celery import app as celery_app
|
||
|
||
# Для совместимости с командами типа 'celery -A myproject'
|
||
celery = celery_app
|
||
|
||
__all__ = ('celery_app', 'celery')
|