Put dev settings

main
Laurent 2 years ago
parent fa93cd31df
commit 0031d32284
  1. 13
      enchant_server/settings.py

@ -24,9 +24,9 @@ BASE_DIR = Path(__file__).resolve().parent.parent
SECRET_KEY = 'django-insecure-fw*y$0ozm)bmmm+e6(0d#+j7m(@(etgr@012g5%3@jsn3jtl1u'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False
DEBUG = True
ALLOWED_HOSTS = ['*']
ALLOWED_HOSTS = []
# Application definition
@ -78,13 +78,8 @@ WSGI_APPLICATION = 'enchant_server.wsgi.application'
DATABASES = {
'default': {
#'ENGINE': 'django.db.backends.sqlite3',
#'NAME': BASE_DIR / 'db.sqlite3',
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'stax_enchant_chat',
'USER': 'stax',
'PASSWORD': 'StaxKikoo12',
'HOST': 'postgresql-stax.alwaysdata.net',
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / 'db.sqlite3',
}
}

Loading…
Cancel
Save