From f260843deb371a7d2ef5a265f52e643fcf64f86f Mon Sep 17 00:00:00 2001 From: Dusty Phillips Date: Fri, 10 Oct 2008 18:51:21 -0400 Subject: use RequestContext because its standard --- main/utils.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'main/utils.py') diff --git a/main/utils.py b/main/utils.py index f31689f..74ec50e 100644 --- a/main/utils.py +++ b/main/utils.py @@ -11,10 +11,6 @@ def prune_cache(django_page_url): cache_postfix = '.d41d8cd98f00b204e9800998ecf8427e' cache.delete('%s%s%s' % (cache_prefix,django_page_url,cache_postfix)) -def render_response(req, *args, **kwargs): - kwargs['context_instance'] = RequestContext(req) - return render_to_response(*args, **kwargs) - #utility to make a pair of django choices make_choice = lambda l: [(str(m), str(m)) for m in l] -- cgit v1.2.3-24-g4f1b