wiki.cuates.net/source/wiki_cuates/conf.py.example

24 lines
320 B
Python

#!/usr/bin/env python3
DEBUG = True
SECRET_KEY = ''
ALLOWED_HOSTS = ['*']
DB_PASSWORD = 'letmein'
DEFAULT_DB = {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'NAME',
'USER': 'USER',
'PASSWORD': DB_PASSWORD,
'HOST': '127.0.0.1',
'PORT': '5432',
}
if DEBUG:
ALLOWED_HOSTS = ['*']