summaryrefslogtreecommitdiff
path: root/local_settings.py.sample
blob: b92f9c3e0adaa163d54e8e0647a71b300fa36fa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/usr/bin/env python
# -*- coding: utf-8 -*-

# rename this file to local_settings.py and overload settings in this file

import os

SECRET_KEY = ""
ALLOWED_HOSTS = []

DATABASES = {
    'default': {
        'NAME': 'chimere',
        'ENGINE': 'django.contrib.gis.db.backends.postgis',
        'HOST': 'localhost',
        'PORT': '5432',
        'USER': 'postgres',
        'PASSWORD': '',
    },
}

CHIMERE_ENABLE_CLUSTERING = True
CHIMERE_SEARCH_ENGINE = False
CHIMERE_CONTENT_INSIDE_POPUP = True
CHIMERE_ENABLE_ROUTING = True
CONTACT_EMAIL = ''

ADMINS = (
    # ('Your Name', 'your_email@domain.com'),
)

CHIMERE_OSM_API_URL = 'api06.dev.openstreetmap.org'  # test URL
CHIMERE_OSM_USER = 'osm_user'
CHIMERE_OSM_PASSWORD = 'osm_pass'

MANAGERS = ADMINS

ROOT_URLCONF = 'chimere_saclay.urls'

ROOT_PATH = os.path.realpath(os.path.dirname(__file__)) + "/"

STATICFILES_DIRS = (
    os.path.join(ROOT_PATH, "chimere_saclay/saclay_static"),
)