summaryrefslogtreecommitdiffstats
path: root/roles/mailman/templates/settings_admin.py.j2
blob: 41f256743ea97a4d3a8482cc82a81e7b7e821056 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#-*- 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

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
        'NAME': 'hyperkitty',
        'USER': 'hyperkittyadmin',
        'PASSWORD': '{{ mailman_hyperkitty_admin_db_pass }}',
        'HOST': '{{ mailman_db_server }}',
        'PORT': '',
    }
}