ansible/roles/mailman/templates/hyperkitty.settings_admin.py.j2
2013-09-05 15:43:24 +00:00

21 lines
548 B
Django/Jinja

#-*- 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'