-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtp-settings.tmpl
40 lines (32 loc) · 1.07 KB
/
tp-settings.tmpl
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
# Local devel Settings
import os
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
LOCAL_SETTINGS = True
DEBUG = True
ALLOWED_HOSTS = ['*']
# Make this unique, and don't share it with anybody.
# You can use http://www.miniwebtool.com/django-secret-key-generator/
# to create one.
SECRET_KEY = '__SECRET_KEY__'
# Name for site
SITE_TITLE = 'Trunk-Player'
SITE_EMAIL = 'help@example.com'
DEFAULT_FROM_EMAIL='Trunk-Player WebSite <scanner-web-help@example.com>'
# Set this to the location of your audio files
#AUDIO_URL_BASE = '//s3.amazonaws.com/SET-TO-MY-BUCKET/'
AUDIO_URL_BASE = '/audio_files/'
# Allow TalkGroup access restrictions
ACCESS_TG_RESTRICT = False
# Postgres database setup
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'trunk_player', # Database Name
'USER': 'trunk_player_user', # Database User Name
'PASSWORD': '__DB_PASS__', # Database User Password
'HOST': 'localhost',
'PORT': '',
}
}
# Remove this if you enable https:
SECURE_PROXY_SSL_HEADER = ()