@login_required
def done(request):
 ctx = {'version': version, 'last_login': request.session.get('social_auth_last_login_backend')}
 return render_to_response('done.html', ctx, RequestContext(request))

@ login_required def done ( request ) : ctx = { 'version' : version , 'last_login' : request . session . get ( 'social_auth_last_login_backend' ) } return render_to_response ( 'done.html' , ctx , RequestContext ( request ) )
login complete view .