From b5ab71d8bdf55253757560f0d2c2059c496a9562 Mon Sep 17 00:00:00 2001 From: Javyer Der Derian Date: Thu, 24 Jul 2014 23:17:47 -0300 Subject: [PATCH] removed unused comment --- twython_django_oauth/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/twython_django_oauth/views.py b/twython_django_oauth/views.py index 32cae7d..db3fa5a 100644 --- a/twython_django_oauth/views.py +++ b/twython_django_oauth/views.py @@ -38,8 +38,9 @@ def begin_auth(request): # Then send them over there, durh. request.session['request_token'] = auth_props - # request.session["redirect_after_login"] = + request.session["next_url_login"] = request.GET.get("next",None) + return HttpResponseRedirect(auth_props['auth_url'])