2017-11-26 11:16:57 +11:00
|
|
|
ORG_NAME = 'Your Organisation Here'
|
|
|
|
|
2017-11-28 12:29:12 +11:00
|
|
|
BASE_URI = 'http://localhost:5000'
|
|
|
|
|
2017-11-26 11:16:57 +11:00
|
|
|
SECRET_KEY = 'xxxxxxxxxxxxxxxxxxxxxxxx'
|
|
|
|
|
|
|
|
AUTH_METHODS = [
|
2017-11-26 20:48:15 +11:00
|
|
|
('email', 'Email'),
|
2017-11-26 11:16:57 +11:00
|
|
|
('reddit', 'Reddit')
|
|
|
|
]
|
2017-11-26 20:48:15 +11:00
|
|
|
|
2017-12-07 15:33:11 +11:00
|
|
|
import eos.redditauth.election
|
|
|
|
ADMINS = [
|
|
|
|
#eos.redditauth.election.RedditUser(username='xxxxxxxx')
|
|
|
|
]
|
|
|
|
|
2017-12-12 20:32:02 +11:00
|
|
|
TASK_RUN_STRATEGY = 'eos.core.tasks.direct.DirectRunStrategy'
|
|
|
|
|
2017-12-13 15:21:22 +11:00
|
|
|
TIMEZONE = 'Australia/Canberra'
|
|
|
|
|
2017-11-27 19:40:01 +11:00
|
|
|
# MongoDB
|
|
|
|
|
|
|
|
DB_TYPE = 'mongodb'
|
|
|
|
DB_URI = 'mongodb://localhost:27017/'
|
|
|
|
DB_NAME = 'eos'
|
|
|
|
|
2017-11-27 20:12:31 +11:00
|
|
|
# PostgreSQL
|
|
|
|
|
|
|
|
#DB_TYPE = 'postgresql'
|
|
|
|
#DB_URI = 'postgresql://'
|
|
|
|
#DB_NAME = 'eos'
|
|
|
|
|
2017-11-26 20:48:15 +11:00
|
|
|
# Email
|
|
|
|
|
|
|
|
SMTP_HOST, SMTP_PORT = 'localhost', 25
|
|
|
|
SMTP_USER, SMTP_PASS = None, None
|
|
|
|
SMTP_FROM = 'eos@localhost'
|
|
|
|
|
|
|
|
# Reddit
|
|
|
|
|
|
|
|
REDDIT_OAUTH_CLIENT_ID = 'xxxxxxxxxxxxxx'
|
|
|
|
REDDIT_OAUTH_CLIENT_SECRET = 'xxxxxxxxxxxxxxxxxxxxxxxxxxx'
|
|
|
|
REDDIT_USER_AGENT = 'Application Title by /u/Your_Username'
|
2017-12-11 13:53:25 +11:00
|
|
|
|
|
|
|
# Security
|
|
|
|
|
|
|
|
CAST_IP = True
|
|
|
|
CAST_FINGERPRINT = False
|