2011-08-31 03:46:55 +00:00
|
|
|
from regluit.settings.common import *
|
|
|
|
|
|
|
|
DEBUG = True
|
|
|
|
TEMPLATE_DEBUG = DEBUG
|
|
|
|
|
|
|
|
ADMINS = (
|
2011-09-29 11:44:03 +00:00
|
|
|
('Ed Summers', 'ehs@pobox.com'),
|
2011-08-31 03:46:55 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
MANAGERS = ADMINS
|
|
|
|
|
|
|
|
DATABASES = {
|
|
|
|
'default': {
|
|
|
|
'ENGINE': 'django.db.backends.sqlite3',
|
|
|
|
'NAME': 'regluit.db',
|
|
|
|
'USER': '',
|
|
|
|
'PASSWORD': '',
|
|
|
|
'HOST': '',
|
|
|
|
'PORT': '',
|
2011-11-21 19:13:29 +00:00
|
|
|
'TEST_CHARSET': 'utf8',
|
2011-08-31 03:46:55 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
TIME_ZONE = 'America/New_York'
|
|
|
|
SECRET_KEY = '_^_off!8zsj4+)%qq623m&$7_m-q$iau5le0w!mw&n5tgt#x=t'
|
2011-09-04 05:04:04 +00:00
|
|
|
|
2011-09-06 01:50:55 +00:00
|
|
|
# settings for outbout email
|
|
|
|
# if you have a gmail account you can use your email address and password
|
|
|
|
|
2011-09-04 05:04:04 +00:00
|
|
|
EMAIL_USE_TLS = True
|
|
|
|
EMAIL_HOST = 'smtp.gmail.com'
|
|
|
|
EMAIL_HOST_USER = 'me@gmail.com'
|
|
|
|
EMAIL_HOST_PASSWORD = 'my-password'
|
|
|
|
EMAIL_PORT = 587
|
|
|
|
DEFAULT_FROM_EMAIL = 'info@gluejar.com'
|
2011-09-06 01:50:55 +00:00
|
|
|
|
|
|
|
# twitter auth
|
|
|
|
# you'll need to create a new Twitter application to fill in these blanks
|
|
|
|
# https://dev.twitter.com/apps/new
|
|
|
|
|
|
|
|
TWITTER_CONSUMER_KEY = ''
|
|
|
|
TWITTER_CONSUMER_SECRET = ''
|
|
|
|
|
|
|
|
# facebook auth
|
|
|
|
# you'll need to create a new Facebook application to fill in these blanks
|
|
|
|
# https://developers.facebook.com/apps/
|
|
|
|
|
|
|
|
FACEBOOK_APP_ID = ''
|
|
|
|
FACEBOOK_API_SECRET = ''
|
|
|
|
|
|
|
|
# google auth
|
|
|
|
# you'll need to create a new Google application to fill in these blanks
|
|
|
|
# https://code.google.com/apis/console/
|
2011-09-07 09:33:05 +00:00
|
|
|
GOOGLE_OAUTH2_CLIENT_ID = ''
|
|
|
|
GOOGLE_OAUTH2_CLIENT_SECRET = ''
|
2011-09-06 01:50:55 +00:00
|
|
|
GOOGLE_DISPLAY_NAME = 'unglue it!'
|
|
|
|
|
2011-09-07 09:33:05 +00:00
|
|
|
# you'll need to register a GoogleBooks API key
|
|
|
|
# https://code.google.com/apis/console
|
|
|
|
GOOGLE_BOOKS_API_KEY = ''
|
2011-10-04 11:55:39 +00:00
|
|
|
|
|
|
|
PAYPAL_USERNAME = ''
|
|
|
|
PAYPAL_PASSWORD = ''
|
|
|
|
PAYPAL_SIGNATURE = ''
|
|
|
|
PAYPAL_APPID = ''
|
|
|
|
|
|
|
|
PAYPAL_ENDPOINT = 'svcs.sandbox.paypal.com' # sandbox
|
|
|
|
PAYPAL_PAYMENT_HOST = 'http://www.sandbox.paypal.com' # sandbox
|
|
|
|
|
|
|
|
PAYPAL_SANDBOX_LOGIN = ''
|
|
|
|
PAYPAL_SANDBOX_PASSWORD = ''
|
|
|
|
|
|
|
|
PAYPAL_BUYER_LOGIN =''
|
|
|
|
PAYPAL_BUYER_PASSWORD = ''
|
|
|
|
|
2011-10-19 16:45:25 +00:00
|
|
|
PAYPAL_GLUEJAR_EMAIL = "glueja_1317336101_biz@gluejar.com"
|
2011-10-14 02:16:28 +00:00
|
|
|
|
2011-10-18 23:27:20 +00:00
|
|
|
# for test purposes have a single RH paypal email
|
|
|
|
PAYPAL_TEST_RH_EMAIL = "rh1_1317336251_biz@gluejar.com"
|
2011-10-19 16:45:25 +00:00
|
|
|
PAYPAL_TEST_NONPROFIT_PARTNER_EMAIL = "nppart_1318957063_per@gluejar.com"
|
2011-10-18 23:27:20 +00:00
|
|
|
|
2011-10-27 06:35:46 +00:00
|
|
|
BASE_URL = 'http://0.0.0.0'
|
2011-10-20 03:31:16 +00:00
|
|
|
|
|
|
|
# use database as queuing service in development
|
|
|
|
BROKER_TRANSPORT = "djkombu.transport.DatabaseTransport"
|
|
|
|
INSTALLED_APPS += ("djkombu",)
|
2011-10-25 01:29:01 +00:00
|
|
|
|
|
|
|
# Goodreads API
|
|
|
|
GOODREADS_API_KEY = ''
|
|
|
|
GOODREADS_API_SECRET = ''
|
2011-11-06 12:55:07 +00:00
|
|
|
|
2011-11-16 18:20:10 +00:00
|
|
|
# LibraryThing API
|
|
|
|
LIBRARYTHING_API_KEY = ''
|
|
|
|
|
2011-11-06 12:55:07 +00:00
|
|
|
# Freebase credentials
|
|
|
|
FREEBASE_USERNAME = ''
|
|
|
|
FREEBASE_PASSWORD = ''
|
2011-11-06 23:32:43 +00:00
|
|
|
|
|
|
|
# send celery log to Python logging
|
|
|
|
CELERYD_HIJACK_ROOT_LOGGER = False
|
2011-11-16 18:20:10 +00:00
|
|
|
|
2011-11-16 21:00:51 +00:00
|
|
|
# a debug_toolbar setting
|
2011-11-21 19:13:29 +00:00
|
|
|
INTERNAL_IPS = ('127.0.0.1',)
|
2011-11-22 01:12:13 +00:00
|
|
|
|
|
|
|
CELERYD_LOG_LEVEL = "INFO"
|