From 29f084613dffbdfa005258218e9e38c0c4a44bbb Mon Sep 17 00:00:00 2001 From: martin speleo Date: Sat, 4 Jul 2009 16:39:59 +0100 Subject: [PATCH] [svn] removed redundant import --- core/views_logbooks.py | 1 - 1 file changed, 1 deletion(-) diff --git a/core/views_logbooks.py b/core/views_logbooks.py index 13bf0d1..e31f30f 100644 --- a/core/views_logbooks.py +++ b/core/views_logbooks.py @@ -11,7 +11,6 @@ from django.http import HttpResponseRedirect # Django uses Context, not RequestContext when you call render_to_response. We always want to use RequestContext, so that django adds the context from settings.TEMPLATE_CONTEXT_PROCESSORS. This way we automatically get necessary settings variables passed to each template. So we use a custom method, render_response instead of render_to_response. Hopefully future Django releases will make this unnecessary. from troggle.alwaysUseRequestContext import render_response -import search import re @models.permalink #this allows the nice get_absolute_url syntax we are using