清空,重构

This commit is contained in:
2026-04-28 13:15:55 +08:00
parent 381079bbf3
commit 61535a53c2
170 changed files with 0 additions and 1219 deletions

View File

@@ -1,22 +0,0 @@
from decouple import config as env
from .base import *
DEBUG = False
ALLOWED_HOSTS = env("ALLOWED_HOSTS", default="localhost,127.0.0.1").split(",")
SECURE_SSL_REDIRECT = True
SESSION_COOKIE_SECURE = True
CSRF_COOKIE_SECURE = True
SENTRY_DSN = env("SENTRY_DSN", default="")
if SENTRY_DSN:
import sentry_sdk
from sentry_sdk.integrations.django import DjangoIntegration
sentry_sdk.init(
dsn=SENTRY_DSN,
integrations=[DjangoIntegration()],
traces_sample_rate=0.1,
send_default_pii=False,
)