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

22 lines
548 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 *
from settings_local import *
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'hyperkitty',
'USER': 'hyperkittyadmin',
'PASSWORD': '{{ mailman_hk_admin_db_pass }}',
'HOST': 'localhost',
'PORT': '',
}
}
KITTYSTORE_URL = 'postgres://kittystoreadmin:{{ mailman_ks_admin_db_pass }}@localhost/kittystore'