diff options
author | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-07-04 19:26:51 +0100 |
---|---|---|
committer | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-07-04 19:26:51 +0100 |
commit | ebebb2f4bc861d6900fbf95b6cc04b5b3bf65e9a (patch) | |
tree | 746b52ff3c6b0eba445160c87be0275fd0d7acba /feincms/shortcuts.py | |
parent | 9d90506e1cadc17edc908dea4f68b6137ff96b9f (diff) | |
download | troggle-ebebb2f4bc861d6900fbf95b6cc04b5b3bf65e9a.tar.gz troggle-ebebb2f4bc861d6900fbf95b6cc04b5b3bf65e9a.tar.bz2 troggle-ebebb2f4bc861d6900fbf95b6cc04b5b3bf65e9a.zip |
[svn] Remove old subcave model, along with mptt and feincms. Also move OtherCaveNames admin representation to an inline in Cave.
Diffstat (limited to 'feincms/shortcuts.py')
-rw-r--r-- | feincms/shortcuts.py | 13 |
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)) - |