Skip to content

Commit 5b7ea3a

Browse files
committed
fix typo
1 parent 892d579 commit 5b7ea3a

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

procollab/settings.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from decouple import config
77
from sentry_sdk.integrations.django import DjangoIntegration
88

9+
910
mimetypes.add_type("application/javascript", ".js", True)
1011
mimetypes.add_type("text/css", ".css", True)
1112
mimetypes.add_type("text/html", ".html", True)
@@ -125,6 +126,7 @@
125126
"core.log.middleware.CustomLoguruMiddleware",
126127
]
127128

129+
128130
# CORS_ALLOWED_ORIGINS = [
129131
# "http://localhost:4200",
130132
# "http://127.0.0.1:4200",
@@ -177,8 +179,6 @@
177179

178180
ASGI_APPLICATION = "procollab.asgi.application"
179181

180-
REDIS_HOST = config("REDIS_HOST", cast=str, default="127.0.0.1")
181-
182182
if DEBUG:
183183
DATABASES = {
184184
"default": {
@@ -194,7 +194,7 @@
194194
}
195195
}
196196

197-
CHANNEL_LERS = {"default": {"BACKEND": "channels.layers.InMemoryChannelLayer"}}
197+
CHANNEL_LAYERS = {"default": {"BACKEND": "channels.layers.InMemoryChannelLayer"}}
198198
else:
199199
# fixme
200200
CACHES = {
@@ -317,10 +317,6 @@
317317
EMAIL_HOST_USER = config("EMAIL_USER", cast=str, default="example@mail.ru")
318318
EMAIL_HOST_PASSWORD = config("EMAIL_PASSWORD", cast=str, default="password")
319319

320-
DEFAULT_FROM_EMAIL = EMAIL_HOST_USER
321-
SERVER_EMAIL = EMAIL_HOST_USER
322-
EMAIL_ADMIN = EMAIL_HOST_USER
323-
324320
SELECTEL_ACCOUNT_ID = config("SELECTEL_ACCOUNT_ID", cast=str, default="123456")
325321
SELECTEL_CONTAINER_NAME = config(
326322
"SELECTEL_CONTAINER_NAME", cast=str, default="procollab_media"
@@ -344,6 +340,7 @@
344340
"enqueue": True,
345341
}
346342

343+
347344
if DEBUG:
348345
SELECTEL_SWIFT_URL += "debug/"
349346

0 commit comments

Comments
 (0)