Skip to content

Commit

Permalink
import ssl
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerrrqw committed Nov 15, 2024
1 parent 761e8e7 commit 204b96d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions {{cookiecutter.project_slug}}/config/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@
{% if cookiecutter.use_sentry == 'y' -%}
import logging
import ssl

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
{% else %}
import ssl
{% endif -%}

from .base import * # noqa: F403
from .base import DATABASES
from .base import INSTALLED_APPS
from .base import REDIS_URL
from .base import env
{%- if cookiecutter.use_drf == "y" %}
from .base import SPECTACULAR_SETTINGS
{%- endif %}
from .base import env

# GENERAL
# ------------------------------------------------------------------------------
Expand Down

0 comments on commit 204b96d

Please sign in to comment.