Skip to content

Instantly share code, notes, and snippets.

@kamito
Created January 23, 2011 13:51
Show Gist options
  • Save kamito/792090 to your computer and use it in GitHub Desktop.
Save kamito/792090 to your computer and use it in GitHub Desktop.
def index(request):
client_id = users.get_current_user()
token = channel.create_channel(client_id)
template_value = {
"token": token
}
return render_to_response('gtug0/root/index.html', template_value)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment