Add conf example

This commit is contained in:
Mauricio Baeza 2021-09-09 22:10:05 -05:00
parent 0abe801b36
commit 8b21872f3b
2 changed files with 23 additions and 2 deletions

View File

@ -0,0 +1,23 @@
#!/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 = ['*']

View File

@ -155,5 +155,3 @@ WIKI_ANONYMOUS_CREATE = False
WIKI_ANONYMOUS_UPLOAD = False
WIKI_ANONYMOUS_WRITE = False