Laurent 3 years ago
parent c72a702a27
commit f28e2093f6
  1. 20
      padel/settings.py

@ -26,7 +26,7 @@ SECRET_KEY = 'django-insecure-y6eq)a5r)((id1vtb_be!nco92vla2$#iwm^^opa7@x4(%o5mh
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False
ALLOWED_HOSTS = ['ssh-stax.alwaysdata.net', 'ssh-stax.alwaysdata.net/padel']
ALLOWED_HOSTS = ['*']
# Application definition
@ -71,24 +71,6 @@ TEMPLATES = [
WSGI_APPLICATION = 'padel.wsgi.application'
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'handlers': {
'file': {
'level': 'DEBUG',
'class': 'logging.FileHandler',
'filename': '/tmp/debug.log',
},
},
'loggers': {
'django': {
'handlers': ['file'],
'level': 'DEBUG',
'propagate': True,
},
},
}
# Database
# https://docs.djangoproject.com/en/4.1/ref/settings/#databases

Loading…
Cancel
Save