forked from govtrack/govtrack.us-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings_local.example.py
57 lines (46 loc) · 1.53 KB
/
settings_local.example.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
import os.path
ALLOWED_HOSTS = ["*"]
DATABASES = {
'default': {
'NAME': os.path.dirname(__file__) + '/database.sqlite',
'ENGINE': 'django.db.backends.sqlite3',
}
}
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'LOCATION': 'opendataiscool'
}
}
HAYSTACK_CONNECTIONS = {
'default': { # required but not used
'ENGINE': 'haystack.backends.simple_backend.SimpleEngine',
},
'person': {
'ENGINE': 'haystack.backends.simple_backend.SimpleEngine', # replace this
},
'bill': {
'ENGINE': 'haystack.backends.simple_backend.SimpleEngine', # replace this
},
'states': {
'ENGINE': 'haystack.backends.simple_backend.SimpleEngine', # replace this
},
}
CONGRESS_LEGISLATORS_PATH='../congress-legislators/'
GEOIP_DB_PATH = None
RSS_CAMPAIGN_QUERYSTRING = "?utm_campaign=govtrack_feed&utm_source=govtrack/feed&utm_medium=rss"
SECRET_KEY = 'fill this in'
GOOGLE_ANALYTICS_KEY = 'fill this in'
SUNLIGHTLABS_API_KEY = 'fill this in'
YOUTUBE_API_KEY = 'fill this in'
# for registration
RECAPTCHA_PUBLIC_KEY = "fill this in"
RECAPTCHA_PRIVATE_KEY = "fill this in"
TWITTER_OAUTH_TOKEN = "fill this in"
TWITTER_OAUTH_TOKEN_SECRET = "fill this in"
FACEBOOK_APP_ID = "fill this in"
FACEBOOK_APP_SECRET = "fill this in"
FACEBOOK_AUTH_SCOPE = "email" # can be an empty string
# The ad-free payment requires something like this:
#import paypalrestsdk
#paypalrestsdk.configure(mode="sandbox", client_id="...", client_secret="...")