import ssl

This commit is contained in:
qwerrrqw 2024-11-15 23:40:48 +09:00
parent 757fcc418a
commit cddfa6c7c5

View File

@ -1,30 +1,28 @@
# ruff: noqa: E501 # ruff: noqa: E501
# Standard Library
import logging
import ssl import ssl
{% if cookiecutter.use_sentry == 'y' -%} {% if cookiecutter.use_sentry == 'y' -%}
# Third-party import logging
import sentry_sdk import sentry_sdk
{%- if cookiecutter.use_celery == 'y' %} {%- if cookiecutter.use_celery == 'y' %}
from sentry_sdk.integrations.celery import CeleryIntegration from sentry_sdk.integrations.celery import CeleryIntegration
{%- endif %} {%- endif %}
from sentry_sdk.integrations.django import DjangoIntegration from sentry_sdk.integrations.django import DjangoIntegration
from sentry_sdk.integrations.logging import LoggingIntegration from sentry_sdk.integrations.logging import LoggingIntegration
from sentry_sdk.integrations.redis import RedisIntegration from sentry_sdk.integrations.redis import RedisIntegration
{% endif -%}
# Local {% endif -%}
from .base import * # noqa: F403 from .base import * # noqa: F403
from .base import ( from .base import DATABASES
DATABASES, from .base import INSTALLED_APPS
INSTALLED_APPS, from .base import REDIS_URL
REDIS_URL,
env,
{%- if cookiecutter.use_drf == "y" %} {%- if cookiecutter.use_drf == "y" %}
SPECTACULAR_SETTINGS, from .base import SPECTACULAR_SETTINGS
{%- endif %} {%- endif %}
) from .base import env
# GENERAL # GENERAL
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------