Добавлен алиас celery для совместимости с командами Celery CLI в Docker
This commit is contained in:
@@ -4,4 +4,7 @@ This ensures the Celery app is loaded when Django starts.
|
|||||||
"""
|
"""
|
||||||
from .celery import app as celery_app
|
from .celery import app as celery_app
|
||||||
|
|
||||||
|
# Для совместимости с командами типа 'celery -A myproject'
|
||||||
|
celery = celery_app
|
||||||
|
|
||||||
__all__ = ('celery_app',)
|
__all__ = ('celery_app',)
|
||||||
|
|||||||
Reference in New Issue
Block a user