diff options
author | Dusty Phillips <buchuki@gmail.com> | 2008-10-10 18:51:21 -0400 |
---|---|---|
committer | Dusty Phillips <buchuki@gmail.com> | 2008-10-10 18:51:21 -0400 |
commit | f260843deb371a7d2ef5a265f52e643fcf64f86f (patch) | |
tree | d69e668dc8499ce59dbefc96dd1fba9fd4cf0a00 /main/utils.py | |
parent | 0e0265a624947fcb13860cfcc24078e79af9346b (diff) |
use RequestContext because its standard
Diffstat (limited to 'main/utils.py')
-rw-r--r-- | main/utils.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/main/utils.py b/main/utils.py index f31689f8..74ec50ef 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] |