mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-06 13:10:17 +03:00
commit
34c8a4d8dc
|
@ -6,8 +6,6 @@ import sentry_sdk
|
||||||
|
|
||||||
{%- if cookiecutter.use_celery == 'y' %}
|
{%- if cookiecutter.use_celery == 'y' %}
|
||||||
|
|
||||||
import ssl
|
|
||||||
|
|
||||||
from sentry_sdk.integrations.celery import CeleryIntegration
|
from sentry_sdk.integrations.celery import CeleryIntegration
|
||||||
|
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
@ -51,7 +49,7 @@ CACHES = {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
import ssl # noqa: E402
|
||||||
REDIS_URL = env("REDIS_TLS_URL")
|
REDIS_URL = env("REDIS_TLS_URL")
|
||||||
CELERY_REDIS_BACKEND_USE_SSL = {"ssl_cert_reqs": ssl.CERT_NONE}
|
CELERY_REDIS_BACKEND_USE_SSL = {"ssl_cert_reqs": ssl.CERT_NONE}
|
||||||
CELERY_BROKER_USE_SSL = {"ssl_cert_reqs": ssl.CERT_NONE}
|
CELERY_BROKER_USE_SSL = {"ssl_cert_reqs": ssl.CERT_NONE}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user