added my goodreads api key for please.unglueit.com
parent
4c29afdb94
commit
08053cc4ba
|
@ -201,6 +201,9 @@ class Work(models.Model):
|
|||
if ebook_format == None or ebook.format == ebook_format:
|
||||
return ebook
|
||||
return None
|
||||
|
||||
def wished_by(self):
|
||||
return User.objects.filter(wishlist__works__in=[self])
|
||||
|
||||
def __unicode__(self):
|
||||
return self.title
|
||||
|
|
|
@ -68,6 +68,16 @@ PAYPAL_GLUEJAR_EMAIL = ""
|
|||
PAYPAL_TEST_RH_EMAIL = "rh1_1317336251_biz@gluejar.com"
|
||||
PAYPAL_TEST_NONPROFIT_PARTNER_EMAIL = ""
|
||||
|
||||
# Goodreads API
|
||||
GOODREADS_API_KEY = "vfqIO6QAhBVvlxt6hAzZJg"
|
||||
GOODREADS_API_SECRET = "57tq4MpyJ15Hgm2ToZQQFWJ7vraZzOAqHLckWRXQ"
|
||||
|
||||
# Freebase credentials
|
||||
FREEBASE_USERNAME = ''
|
||||
FREEBASE_PASSWORD = ''
|
||||
|
||||
# send celery log to Python logging
|
||||
CELERYD_HIJACK_ROOT_LOGGER = False
|
||||
BASE_URL = 'http://0.0.0.0/'
|
||||
|
||||
# use redis for production queue
|
||||
|
@ -75,3 +85,5 @@ BROKER_TRANSPORT = "redis"
|
|||
BROKER_HOST = "localhost"
|
||||
BROKER_PORT = 6379
|
||||
BROKER_VHOST = "0"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue