Created
January 23, 2011 13:51
-
-
Save kamito/792090 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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