This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
/
local_settings.py.example
76 lines (57 loc) · 1.74 KB
/
local_settings.py.example
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
from project.settings.base import *
DEBUG = True
# debug toolbar settings
DEBUG_TOOLBAR_CONFIG = {
'SHOW_COLLAPSED': True,
}
INTERNAL_IPS = ['127.0.0.1', '::1']
USE_DEBUG_TOOLBAR = False #Broken
if USE_DEBUG_TOOLBAR:
MIDDLEWARE_CLASSES.insert(0,
'debug_toolbar.middleware.DebugToolbarMiddleware',)
SECRET_KEY = 'something super secret'
CLIPS_DATABASE_ALIAS = 'default'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'intake',
'USER': 'your db user',
}
}
ALLOWED_HOSTS = []
DEFAULT_HOST = 'https://localhost:8000'
ONLY_SHOW_LIVE_COUNTIES = os.environ.get('ONLY_SHOW_LIVE_COUNTIES', 'False') == 'True'
# settings for file uploads
DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
MEDIA_ROOT = os.path.join(REPO_DIR, 'project', 'media')
# Email settings
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
MAIL_DEFAULT_SENDER = "admin@localhost"
VOICEMAIL_NOTIFICATION_EMAIL = '[email protected]'
PARTNERSHIPS_LEAD_INBOX = '[email protected]'
DIVERT_REMOTE_CONNECTIONS = True
# specific to intake.translators.clean_slate.translator
TEST_PDF_PATH = "./CleanSlateCombined.pdf"
MIXPANEL_KEY = '12345'
TWILIO_AUTH_TOKEN = '12345'
COMPRESS_OFFLINE = False
CELERY_TASK_ALWAYS_EAGER = True
CELERY_BROKER_URL = 'amqp://localhost'
TEST_USER_PASSWORD="my-example-password"
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'handlers': {
'console': {
'level': 'WARNING',
'class': 'logging.StreamHandler',
'stream': sys.stdout,
},
},
'loggers': {
'project': {
'handlers': ['console'],
'level': 'WARNING',
},
},
}