diff options
author | luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f> | 2010-06-12 20:33:36 +0000 |
---|---|---|
committer | luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f> | 2010-06-12 20:33:36 +0000 |
commit | 6657ae24658383a9841450329a518327638651c0 (patch) | |
tree | 82e7fd81486a4b9154f58ed5ffe6ad48e4d8fbdb /lib/view_wrapper.py | |
parent | 865f8c58c8c29aaf431076bfffb4cfc4e8116b2d (diff) |
reorganized lib
Diffstat (limited to 'lib/view_wrapper.py')
-rw-r--r-- | lib/view_wrapper.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/view_wrapper.py b/lib/view_wrapper.py deleted file mode 100644 index 0e1e492..0000000 --- a/lib/view_wrapper.py +++ /dev/null @@ -1,10 +0,0 @@ -from django.shortcuts import render_to_response -from django.template.context import RequestContext - -def luxagraf_render(request, *args, **kwargs): - """ - Replacement for render_to_response that uses RequestContext and sets an - extra template variable, TEMPLATE_NAME. - """ - kwargs['context_instance'] = RequestContext(request) - return render_to_response(*args, **kwargs)
\ No newline at end of file |