Refactored settings to support multiple sites and secrets

This commit is contained in:
pwhipp
2014-07-09 07:32:59 +10:00
parent 2f423a894a
commit 6a863ee5e5
5 changed files with 29 additions and 24 deletions

15
mayan/settings/dev.py Normal file
View File

@@ -0,0 +1,15 @@
from mayan.settings.includes.common import *
DEBUG = True
TEMPLATE_DEBUG = DEBUG
ALLOWED_HOSTS = []
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'mayan',
'USER': 'mayan',
'PASSWORD': DBPASSWORD,
'HOST': '',
'PORT': ''}}