ansible/roles/mailman/templates/settings_admin.py.j2

24 lines
510 B
Text
Raw Normal View History

2013-09-03 17:44:29 +02:00
#-*- coding: utf-8 -*-
"""
Copy of the Django settings file, but with database admin credentials (for
schema modifications)
"""
from settings import *
try:
from settings_local import *
except ImportError:
pass
2013-09-03 17:44:29 +02:00
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'hyperkitty',
'USER': 'hyperkittyadmin',
'PASSWORD': '{{ mailman_hyperkitty_admin_db_pass }}',
'HOST': '{{ mailman_db_server }}',
2013-09-03 17:44:29 +02:00
'PORT': '',
}
}