summaryrefslogtreecommitdiffstats
path: root/alwaysUseRequestContext.py
diff options
context:
space:
mode:
Diffstat (limited to 'alwaysUseRequestContext.py')
-rw-r--r--alwaysUseRequestContext.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/alwaysUseRequestContext.py b/alwaysUseRequestContext.py
deleted file mode 100644
index b587b52..0000000
--- a/alwaysUseRequestContext.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# 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) \ No newline at end of file