[svn r8245]

This commit is contained in:
aaron
2009-02-17 02:09:11 +01:00
parent 6776111c6e
commit 1baf2cc0d4
12 changed files with 122 additions and 78 deletions

View File

@@ -0,0 +1,8 @@
# this is the snippet from http://www.djangosnippets.org/snippets/3/
from django.shortcuts import render_to_response
from django.template import RequestContext
def render_response(req, *args, **kwargs):
kwargs['context_instance'] = RequestContext(req)
return render_to_response(*args, **kwargs)