Merge branch 'master' of github.com:samuelclay/NewsBlur

This commit is contained in:
Samuel Clay 2010-07-07 16:22:56 -04:00
commit fa1d44ee95
2 changed files with 3 additions and 1 deletions

View file

@ -39,6 +39,7 @@ def opml_upload(request):
def reader_authorize(request):
print request.session.session_key
oauth_key = settings.OAUTH_KEY
oauth_secret = settings.OAUTH_SECRET
scope = "http://www.google.com/reader/api"
@ -77,6 +78,7 @@ def reader_callback(request):
if request.user.is_authenticated():
user_token = OAuthToken.objects.get(user=request.user)
else:
print request.session.session_key
user_token = OAuthToken.objects.get(session_id=request.session.session_key)
# Authenticated in Google, so verify and fetch access tokens

View file

@ -169,7 +169,7 @@ INTERNAL_IPS = ('127.0.0.1',)
LOGGING_LOG_SQL = True
APPEND_SLASH = True
SOUTH_TESTS_MIGRATE = False
# SESSION_ENGINE = "django.contrib.sessions.backends.cache"
SESSION_ENGINE = "django.contrib.sessions.backends.cached_db"
# ===============
# = Django Apps =