Skip to content

Instantly share code, notes, and snippets.

@igorsobreira
Created September 11, 2010 23:25
Show Gist options
  • Save igorsobreira/575671 to your computer and use it in GitHub Desktop.
Save igorsobreira/575671 to your computer and use it in GitHub Desktop.
from django.shortcuts import render_to_response
def myview(request):
...
return render_to_response('template.html', {'foo': ['one', 'two']})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment