Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8245 by aaron @ 2/17/2009 1:09 AM
This commit is contained in:
substantialnoninfringinguser
2009-05-13 05:52:59 +01:00
parent d25fd97864
commit 25b695e53d
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)