summaryrefslogtreecommitdiffstats
path: root/feincms/shortcuts.py
diff options
context:
space:
mode:
Diffstat (limited to 'feincms/shortcuts.py')
-rw-r--r--feincms/shortcuts.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/feincms/shortcuts.py b/feincms/shortcuts.py
deleted file mode 100644
index a0e4e19..0000000
--- a/feincms/shortcuts.py
+++ /dev/null
@@ -1,13 +0,0 @@
-from django.shortcuts import render_to_response
-from django.template import RequestContext
-
-from feincms.module.page.models import Page
-
-
-def render_to_response_best_match(request, template_name, dictionary=None):
- dictionary = dictionary or {}
- dictionary['feincms_page'] = Page.objects.best_match_for_request(request)
-
- return render_to_response(template_name, dictionary,
- context_instance=RequestContext(request))
-