Skip to content
Snippets Groups Projects
settings_local.py.j2 536 B
Newer Older
me5na7qbjqbrp's avatar
me5na7qbjqbrp committed
{{ ansible_header | comment }}

SECRET_KEY = '{{ cas_secret_key }}'

# Settings for the CAS server
CAS_LDAP_SERVER = "172.16.10.90"
CAS_LDAP_USER = "cn=cas,ou=service-users,dc=crans,dc=org"
CAS_LDAP_PASSWORD = "{{ cas_ldap_password }}"
CAS_LDAP_BASE_DN = "cn=Utilisateurs,dc=crans,dc=org"
me5na7qbjqbrp's avatar
me5na7qbjqbrp committed

# Database
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
        'NAME': 'cas',
        'HOST': 'pgsql.adm.crans.org',
        'USER': 'cas',
        'PASSWORD': '{{ cas_database_password }}',
    }
}