mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-06 05:00:18 +03:00
test
This commit is contained in:
parent
50e81a04e8
commit
d35d22332b
|
@ -1,28 +1,29 @@
|
||||||
# ruff: noqa: E501
|
# ruff: noqa: E501
|
||||||
import logging
|
import logging
|
||||||
import ssl
|
import ssl
|
||||||
|
|
||||||
{% if cookiecutter.use_sentry == 'y' -%}
|
{% if cookiecutter.use_sentry == 'y' -%}
|
||||||
|
|
||||||
import sentry_sdk
|
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.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
|
||||||
|
{%- if cookiecutter.use_celery == 'y' %}
|
||||||
|
from sentry_sdk.integrations.celery import CeleryIntegration
|
||||||
|
{%- endif %}
|
||||||
|
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
from .base import * # noqa: F403
|
|
||||||
from .base import DATABASES
|
|
||||||
|
|
||||||
from .base import INSTALLED_APPS
|
from .base import * # noqa: F403
|
||||||
from .base import REDIS_URL
|
from .base import (
|
||||||
|
DATABASES,
|
||||||
|
INSTALLED_APPS,
|
||||||
|
REDIS_URL,
|
||||||
{%- if cookiecutter.use_drf == "y" %}
|
{%- if cookiecutter.use_drf == "y" %}
|
||||||
from .base import SPECTACULAR_SETTINGS
|
SPECTACULAR_SETTINGS,
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
from .base import env
|
env,
|
||||||
|
)
|
||||||
|
|
||||||
# GENERAL
|
# GENERAL
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user