This commit is contained in:
@@ -206,10 +206,12 @@ STATIC_ROOT = BASE_DIR / "templates/static"
|
|||||||
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
|
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
|
||||||
#
|
#
|
||||||
# Celery settings
|
# Celery settings
|
||||||
CELERY_BROKER_URL = "redis://django-redis-svc:6379"
|
|
||||||
CELERY_RESULT_BACKEND = "redis://django-redis-svc:6379"
|
CELERY_BROKER_URL = os.environ.get('CELERY_BROKER_URL')
|
||||||
|
CELERY_RESULT_BACKEND = os.environ.get('CELERY_BROKER_URL')
|
||||||
|
|
||||||
CELERY_IMPORTS = [
|
CELERY_IMPORTS = [
|
||||||
'apps.stash_management.apps', # This line imports the tasks.py file
|
'apps.stash_management.apps', # This line imports the tasks.py file
|
||||||
|
'apps.random_simpsons.utils'
|
||||||
# Add other app tasks here if needed
|
# Add other app tasks here if needed
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user