blob: 21e7cb7919ad54e1ae85aac642f29d43ec311c6e (
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
45
46
47
48
49
50
51
52
53
54
55
56
|
#!/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.
# Don't leave it empty
SECRET_KEY = ''
ADMINS = (
# ('Your Name', 'your_email@domain.com'),
)
DATABASES = {
'default': {
'NAME': 'ishtar',
'ENGINE': 'django.contrib.gis.db.backends.postgis',
'HOST': 'localhost',
'PORT': '5432',
'USER': 'ishtar-user',
'PASSWORD': 'mypasswd',
},
}
BASE_URL = "http://mydomain/"
ROOT_URLCONF = 'example_project.urls'
STATIC_URL = BASE_URL + 'static/'
MEDIA_URL = BASE_URL + 'mydomain/media/'
DEBUG = False
DEBUG_TOOLBAR = False
TEMPLATE_DEBUG = DEBUG
SQL_DEBUG = False
# very important to change on a server hosting multiple ishtar instances
PROJECT_SLUG = "my-project"
# complete with host/domain names that this website can serve
ALLOWED_HOSTS = []
# if your installation uses a prefix after the domain name modify and uncomment
# these lines
# DOMAIN_PREFIX = "/ishtar-test"
# LOGIN_URL = DOMAIN_PREFIX + '/accounts/login/'
# LOGIN_REDIRECT_URL = DOMAIN_PREFIX + '/accounts/profile/'
# LOGOUT_URL = DOMAIN_PREFIX + '/accounts/logout/'
# Ishtar custom
SRID = 27572
ENCODING = '' # specific encoding for CSV export - default to utf-8
SURFACE_UNIT = 'square-metre'
SURFACE_UNIT_LABEL = 'm²'
# translation overload can consume resources for a low profile machine
# USE_TRANSLATION_OVERLOAD = True
|