except KeyValue.DoesNotExist:
kv = KeyValue(key=self.name)
except Exception, e:
- logging.error("Error savin setting to database (%s): %s" % (self.name, str(e)))
+ logging.error("Error saving setting to database (%s): %s" % (self.name, str(e)))
return
kv.value = value
Setting.emulators[deftype] = emul
return emul(name, default, set, field_context)
-
-
str(settings.TWITTER_CONSUMER_KEY),
str(settings.TWITTER_CONSUMER_SECRET),
"twitter.com",
- "https://twitter.com/oauth/request_token",
- "https://twitter.com/oauth/access_token",
- "https://twitter.com/oauth/authorize",
+ "https://api.twitter.com/oauth/request_token",
+ "https://api.twitter.com/oauth/access_token",
+ "https://api.twitter.com/oauth/authorize",
)
def get_user_data(self, key):