Any good tutorials on using OAuth with Piston? [closed] Any good tutorials on using OAuth with Piston? [closed] django django

Any good tutorials on using OAuth with Piston? [closed]


I did benjamin dell; at what point are you? The endless loop? In that case; add this function to yourapp.api.views:

# Create your views here.from django.shortcuts import render_to_responsefrom django.template import RequestContextdef request_token_ready(request, token):    error = request.GET.get('error', '')    ctx = RequestContext(request, {        'error' : error,        'token' : token    })    return render_to_response(        'piston/request_token_ready.html',        context_instance = ctx    )

and set settings.OAUTH_CALLBACK_VIEW = "api.views.request_token_ready"