-
Notifications
You must be signed in to change notification settings - Fork 8
/
settings.py
35 lines (24 loc) · 1.01 KB
/
settings.py
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
import os, os.path
TEMPLATE_DIR = os.path.join(os.path.dirname(__file__), 'templates')
MAPS_KEY = 'ABQIAAAAAFc3F2oO92IOeSdh20OvwRTIaxK6J1v0NBsI6tB269QU6Hg_LRSrbrOnRs7NAA_zH6sTW8fJ-5NpgQ'
# Possible values:
# - android: Old phone-based gateway
# - twilio: Twilio-based. Cheap and nice. Use it. Love it. Cherish it. Give it potatoes.
# - google-voice: Google-Voice-based. Defunct -- don't bother.
SMS_PROVIDER = 'twilio'
# Incoming phone number. Displayed on main profile page. Override in local_settings.py
SMS_GATEWAY = '555-555-5555'
# Twilio settings -- OVERRIDE IN local_settings.py!!
TWILIO_ACCOUNT_ID = 'ACXXXXXXXXXXXXXX'
TWILIO_AUTH_TOKEN = 'YYYYYYYYYYYYYY'
TWILIO_API_VERSION = '2008-08-01'
HOST = 'yourserver.com'
MAILER_EMAIL = '[email protected]'
PERSON_FINDER_URL = 'http://chilepersonfinder.appspot.com/api/write?key=%(key)s'
PERSON_FINDER_DEADLINE_SECONDS = 10
def template_path(template_file):
return os.path.join(TEMPLATE_DIR, template_file)
try:
from local_settings import *
except ImportError:
pass