Skip to content

Commit

Permalink
Import Order Organization
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerrrqw committed Nov 15, 2024
1 parent 852a834 commit 630a057
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions {{cookiecutter.project_slug}}/config/settings/production.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# ruff: noqa: E501
{% if cookiecutter.use_sentry == 'y' -%}
import logging
import ssl

import sentry_sdk

Expand All @@ -12,21 +13,18 @@
from sentry_sdk.integrations.logging import LoggingIntegration
from sentry_sdk.integrations.redis import RedisIntegration

{% endif -%}

{% else %}
import ssl


{% endif -%}
from .base import env
from .base import DATABASES
from .base import INSTALLED_APPS
from .base import REDIS_URL
from .base import env
from .base import * # noqa: F403

{%- if cookiecutter.use_drf == "y" %}
from .base import SPECTACULAR_SETTINGS
{%- endif %}

from .base import * # noqa: F403
# GENERAL
# ------------------------------------------------------------------------------
# https://docs.djangoproject.com/en/dev/ref/settings/#secret-key
Expand Down

0 comments on commit 630a057

Please sign in to comment.