This commit is contained in:
qwerrrqw 2024-11-16 03:04:40 +09:00
parent 50e81a04e8
commit d35d22332b

View File

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