summaryrefslogtreecommitdiff
path: root/example_project/local_settings.py.sample
blob: 082d23ba2519a4e2e89cb4b4f33ef915c8c8eafd (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
#!/usr/bin/env python
# -*- coding: utf-8 -*-

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

# Make this string unique, and don't share it with anybody.
SECRET_KEY = ''

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

MANAGERS = ADMINS

DATABASES = {
    'default': {
        'NAME': 'ishtar',
        'ENGINE': 'django.contrib.gis.db.backends.postgis',
        'HOST': 'localhost',
        'PORT': '5432',
        'USER': 'ishtar-user',
        'PASSWORD': 'mypasswd',
    },
}

ROOT_URLCONF = 'example_project.urls'
MEDIA_URL = 'http://mydomain/static/'

# Ishtar custom
SRID = 27572
ENCODING = '' # specific encoding for CSV export - default to utf-8
SURFACE_UNIT = 'square-metre'
SURFACE_UNIT_LABEL = u'm²'

# choose the extensions to install
# you can remove lines according to the comments but don't change the order
EXTRA_APPS = [
    'archaeological_files',
    'archaeological_context_records',
    'archaeological_warehouse', # need archaeological_finds
    'archaeological_finds', # need archaeological_context_records
]