From 1d1f2278de8eea8acdfd57d658a8969a8e7da0d3 Mon Sep 17 00:00:00 2001 From: Hironsan Date: Thu, 14 Jul 2022 16:44:59 +0900 Subject: [PATCH] Update heroku.py --- backend/config/settings/heroku.py | 34 +++++++++++++++---------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/backend/config/settings/heroku.py b/backend/config/settings/heroku.py index e04f25ff..63ddcef7 100644 --- a/backend/config/settings/heroku.py +++ b/backend/config/settings/heroku.py @@ -2,20 +2,20 @@ import django_heroku from .base import * # noqa: F401,F403 -django_heroku.settings(locals(), test_runner=False) -ALLOWED_HOSTS = ['.herokuapp.com'] -LOGGING = { - 'version': 1, - 'handlers': { - 'console': { - 'level': 'DEBUG', - 'class': 'logging.StreamHandler', - } - }, - 'loggers': { - 'django.db.backends': { - 'level': 'DEBUG', - 'handlers': ['console'], - }, - } -} +django_heroku.settings(locals(), test_runner=False, staticfiles=False) +# ALLOWED_HOSTS = ['.herokuapp.com'] +# LOGGING = { +# 'version': 1, +# 'handlers': { +# 'console': { +# 'level': 'DEBUG', +# 'class': 'logging.StreamHandler', +# } +# }, +# 'loggers': { +# 'django.db.backends': { +# 'level': 'DEBUG', +# 'handlers': ['console'], +# }, +# } +# }