Eos/local_settings.example.py

49 lines
899 B
Python
Raw Normal View History

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')
]
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'
# PostgreSQL
#DB_TYPE = 'postgresql'
#DB_URI = 'postgresql://'
#DB_NAME = 'eos'
2017-11-26 20:48:15 +11:00
# Email
2018-01-04 14:36:07 +11:00
MAIL_SERVER, MAIL_PORT = 'localhost', 25
MAIL_USERNAME, MAIL_PASSWORD = None, None
MAIL_DEFAULT_SENDER = 'eos@localhost'
2017-11-26 20:48:15 +11:00
# 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