-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsettings_local.py.example
More file actions
105 lines (81 loc) · 3.19 KB
/
Copy pathsettings_local.py.example
File metadata and controls
105 lines (81 loc) · 3.19 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
###################################################
# Local settings file #
# Place any overrides to settings.py in here #
###################################################
DEBUG = False
TEMPLATE_DEBUG = DEBUG
ADMINS = ()
MANAGERS = ADMINS
DATABASES = {
'default': {
'ENGINE': 'django.contrib.gis.db.backends.postgis', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
'NAME': '', # Or path to database file if using sqlite3.
'USER': '', # Not used with sqlite3.
'PASSWORD': '', # Not used with sqlite3.
'HOST': 'localhost', # Set to empty string for localhost. Not used with sqlite3.
'PORT': '', # Set to empty string for default. Not used with sqlite3.
}
}
# See: https://docs.djangoproject.com/en/dev/topics/cache/
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
}
}
# Hosts/domain names that are valid for this site; required if DEBUG is False
# See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts
#
# This will generally be the same as your HOST setting, without the protocol
# e.g. locast.mit.edu
ALLOWED_HOSTS = []
LANGUAGE_CODE = 'en-us'
LANGUAGES = (
('en', 'English'),
)
SITE_ID = 1
# The host address of this installation, e.g. http://locast.mit.edu -- No trailing slash
HOST = ''
# The relative URL of the application, e.g. /civicmedia -- No trailing slash, leave blank if its the root.
BASE_URL = ''
# Generally, FULL_BASE_URL = HOST + BASE_URL
FULL_BASE_URL = HOST + BASE_URL
# Absolute path to the directory that holds media.
# Example: "/home/media/media.lawrence.com/"
MEDIA_ROOT = ''
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash if there is a path component (optional in other cases).
# Examples: "http://media.lawrence.com", "http://example.com/media/"
MEDIA_URL = FULL_BASE_URL + '/media/'
# Absolute path to the directory static files should be collected to.
# Don't put anything in this directory yourself; store your static files
# in apps' "static/" subdirectories and in STATICFILES_DIRS.
# Example: "/home/media/media.lawrence.com/static/"
STATIC_ROOT = ''
# URL prefix for static files.
# Example: "http://media.lawrence.com/static/"
STATIC_URL = FULL_BASE_URL + '/static/'
# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
# trailing slash.
# Examples: "http://foo.com/media/", "/media/".
# Make this unique, and don't share it with anybody.
SECRET_KEY = ''
# APPS that are unique to this instance.
LOCAL_APPS = (
# Uncomment this to turn on userconfirmation
# 'locast.userconfirmation',
)
############
# Locast-specific settings
#
# Which theme to use
THEME = 'default'
DEFAULT_PRIVACY = 2
DEFAULT_LON = 0.0
DEFAULT_LAT = 0.0
DEFAULT_ZOOM = 4
# If a GOOGLE_API_KEY isn't specified, will use Open Street Maps tile layer
GOOGLE_API_KEY = ''
# Custom Flowplayer swf, if desired. Set by default to the generic flowplayer
FLOWPLAYER_SWF = 'http://releases.flowplayer.org/swf/flowplayer-3.2.8.swf'
# Enables google analytics
GOOGLE_ANALYTICS_ID = None