Browse Source

Update heroku.py

fix/herokuDeploy
Hironsan 2 years ago
parent
commit
1d1f2278de
1 changed files with 17 additions and 17 deletions
  1. 34
      backend/config/settings/heroku.py

34
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'],
# },
# }
# }
Loading…
Cancel
Save