From: Stas Kravets Date: Mon, 29 Aug 2011 08:55:06 +0000 (+0400) Subject: Fixing redirect url as found in pull request from Quard. X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=07b8b89967b0efad6223b0307252edb071a9cccc;p=django-social-auth.git Fixing redirect url as found in pull request from Quard. --- diff --git a/social_auth/backends/contrib/vkontakte.py b/social_auth/backends/contrib/vkontakte.py index e9f1c62..b235d4c 100644 --- a/social_auth/backends/contrib/vkontakte.py +++ b/social_auth/backends/contrib/vkontakte.py @@ -86,7 +86,7 @@ class VKontakteAuth(BaseAuth): from django.template import RequestContext, loader dict = { 'VK_APP_ID' : self.APP_ID, - 'VK_COMPLETE_URL': reverse(settings.SOCIAL_AUTH_COMPLETE_URL_NAME, args=[VKontakteBackend.name]) } + 'VK_COMPLETE_URL': self.redirect } vk_template = loader.get_template(LOCAL_HTML) context = RequestContext(self.request, dict)