2016-12-20 19:43:16 +00:00
|
|
|
# coding=utf-8
|
|
|
|
from .common import *
|
2011-10-10 17:26:00 +00:00
|
|
|
|
|
|
|
DEBUG = True
|
2016-07-27 17:48:12 +00:00
|
|
|
TEMPLATES[0]['OPTIONS']['debug'] = DEBUG
|
2012-10-15 15:55:44 +00:00
|
|
|
IS_PREVIEW = False
|
2011-10-10 17:26:00 +00:00
|
|
|
|
|
|
|
ADMINS = (
|
2012-09-05 15:17:27 +00:00
|
|
|
('Raymond Yee', 'rdhyee+ungluebugs@gluejar.com'),
|
|
|
|
('Eric Hellman', 'eric@gluejar.com'),
|
2011-10-10 17:26:00 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
MANAGERS = ADMINS
|
|
|
|
|
|
|
|
DATABASES = {
|
|
|
|
'default': {
|
2011-11-21 17:38:24 +00:00
|
|
|
'ENGINE': 'django.db.backends.mysql',
|
|
|
|
'NAME': 'regluit',
|
2011-11-21 20:08:44 +00:00
|
|
|
'USER': 'regluit',
|
|
|
|
'PASSWORD': 'regluit',
|
|
|
|
'HOST': '',
|
2011-10-10 17:26:00 +00:00
|
|
|
'PORT': '',
|
2018-04-20 01:19:40 +00:00
|
|
|
'TEST': {
|
|
|
|
'CHARSET': 'utf8',
|
|
|
|
}
|
2011-10-10 17:26:00 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
TIME_ZONE = 'America/New_York'
|
|
|
|
|
|
|
|
# settings for outbout email
|
|
|
|
# if you have a gmail account you can use your email address and password
|
|
|
|
|
|
|
|
EMAIL_USE_TLS = True
|
|
|
|
EMAIL_HOST = 'smtp.gmail.com'
|
|
|
|
EMAIL_HOST_USER = 'me@gmail.com'
|
|
|
|
EMAIL_HOST_PASSWORD = 'my-password'
|
|
|
|
EMAIL_PORT = 587
|
2017-11-18 21:34:56 +00:00
|
|
|
DEFAULT_FROM_EMAIL = 'info@ebookfoundation.org'
|
2011-10-10 17:26:00 +00:00
|
|
|
|
2016-12-17 20:31:39 +00:00
|
|
|
|
|
|
|
# formerly of settings/common.py to surface old vars
|
|
|
|
# TO DO: invalidate before we open source
|
|
|
|
|
2016-12-31 04:06:18 +00:00
|
|
|
# for use with test google account only
|
|
|
|
GOOGLE_DISPLAY_NAME = 'Unglue.It'
|
|
|
|
REDIRECT_IS_HTTPS = False
|
2011-10-10 17:26:00 +00:00
|
|
|
|
2015-08-25 15:07:11 +00:00
|
|
|
#BASE_URL = 'http://0.0.0.0/'
|
2012-05-16 14:47:16 +00:00
|
|
|
BASE_URL_SECURE = 'http://0.0.0.0/'
|
2011-10-20 05:19:19 +00:00
|
|
|
|
2013-08-30 19:13:44 +00:00
|
|
|
|
|
|
|
|
2011-10-20 05:19:19 +00:00
|
|
|
# use database as queuing service in development
|
|
|
|
BROKER_TRANSPORT = "djkombu.transport.DatabaseTransport"
|
2017-01-07 00:23:23 +00:00
|
|
|
#INSTALLED_APPS += ("djkombu",)
|