2011-03-27 22:56:15 +02:00
|
|
|
# allow updates via HTTP GET by setting this to true;
|
|
|
|
# set to false to only allow updates via HTTP POST
|
2011-10-16 08:54:31 +02:00
|
|
|
GET_SUPPORT = true
|
|
|
|
|
2014-02-17 18:05:39 +01:00
|
|
|
# rate limit channel updates
|
|
|
|
RATE_LIMIT = false
|
|
|
|
|
|
|
|
# number of seconds to wait before a channel can be updated again
|
|
|
|
RATE_LIMIT_FREQUENCY = '15'
|
|
|
|
|
|
|
|
# main production server to handle all requests (can be a proxy)
|
|
|
|
APPLICATION_IP_ADDRESS = '127.0.0.1'
|
|
|
|
|
|
|
|
# domain for the API
|
|
|
|
API_DOMAIN = 'http://127.0.0.1:3000/'
|
|
|
|
|
2014-02-18 18:12:35 +01:00
|
|
|
# admin email addresses
|
|
|
|
ADMIN_EMAILS = []
|
|
|
|
|
2014-02-17 18:05:39 +01:00
|
|
|
# get api key from HTTP headers if this value is present
|
|
|
|
HTTP_HEADER_API_KEY_NAME = 'THINGSPEAKAPIKEY'
|
|
|
|
|
|
|
|
# Twitter api credentials
|
|
|
|
CONSUMER_KEY = ''
|
|
|
|
CONSUMER_SECRET = ''
|
|
|
|
|
|
|
|
# reset password base url
|
|
|
|
RESET_PASSWORD_URL = 'http://127.0.0.1:3000//users/reset_password/'
|
|
|
|
|
2011-10-16 08:54:31 +02:00
|
|
|
# allow only these additional locales (use downcase, easier to parse)
|
2014-02-17 18:05:39 +01:00
|
|
|
ALLOWED_LOCALES = ['pt-br','it']
|
|
|
|
|