Fixes settings

master
Laurent 6 years ago
parent f3c7e67e79
commit 82d9e06f06
  1. 18
      pokercc/settings.py

@ -27,7 +27,7 @@ SECRET_KEY = 'erk4wh93pi(m(odwg74lsy60tb$rz4=ndyiv3#2lcx^!$^kq@4'
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True DEBUG = True
ALLOWED_HOSTS = ['127.0.0.1', 'ssh-stax.alwaysdata.net', 'www.pokerrumble.net'] ALLOWED_HOSTS = ['ssh-stax.alwaysdata.net', 'www.pokerrumble.net']
#EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' #EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
@ -86,14 +86,14 @@ WSGI_APPLICATION = 'pokercc.wsgi.application'
DATABASES = { DATABASES = {
'default': { 'default': {
'ENGINE': 'django.db.backends.sqlite3', # 'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), # 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
# 'ENGINE': 'django.db.backends.postgresql', 'ENGINE': 'django.db.backends.postgresql',
# 'NAME': 'stax_rumble_dev', 'NAME': 'stax_rumble_dev',
# 'USER': 'stax', 'USER': 'stax',
# 'PASSWORD': 'staxkikoo', 'PASSWORD': 'staxkikoo',
# 'HOST': 'postgresql-stax.alwaysdata.net', 'HOST': 'postgresql-stax.alwaysdata.net',
} }
} }

Loading…
Cancel
Save