@decorator.login_required
def api_tokens(request):
  handled = common_views.handle_view_action(
      request,
      {
        'oauth_revoke_access_token': '/api/tokens',
      }
  )
  if handled:
    return handled

  consumer_tokens = api.oauth_get_actor_tokens(request.user,
                                               request.user.nick)

  # for templates
  full_page = 'Tokens'
  page = 'tokens'
  area = 'api'

  c = template.RequestContext(request, locals())
  t = loader.get_template('api/templates/tokens.html')
  return http.HttpResponse(t.render(c))


# OAuth stuff
Show the user the set of tokens currently enabled, and allow them to
dataset/ETHPy150Open CollabQ/CollabQ/api/views.py/api_tokens