1
0
Fork 0

Clean common settings file

This commit is contained in:
Dece 2020-03-07 17:02:40 +01:00
parent 06dfb092b9
commit c7bb67fac0

View file

@ -6,13 +6,9 @@ import os
# Build paths inside the project like this: os.path.join(BASE_DIR, ...) # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(__file__)) BASE_DIR = os.path.dirname(os.path.dirname(__file__))
DEBUG = False
SECRET_KEY = ''
ALLOWED_HOSTS = ['idre.xyz'] ALLOWED_HOSTS = ['idre.xyz']
ADMINS = ( ('Shgck', 'shgck@pistache.land'), ) ADMINS = ( ('Dece', 'shgck@pistache.land'), )
# Application definition # Application definition
@ -51,7 +47,7 @@ WSGI_APPLICATION = 'idre.wsgi.application'
DATABASES = { DATABASES = {
'default': { 'default': {
'ENGINE': 'django.db.backends.postgresql', 'ENGINE': 'django.db.backends.postgresql',
'NAME': 'idre', 'NAME': '',
'HOST': '', 'HOST': '',
'PORT': '5432', 'PORT': '5432',
'USER': '', 'USER': '',
@ -96,8 +92,3 @@ TEMPLATES = [{
] ]
} }
}] }]
# Misc options
APPEND_SLASH = True