summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormartin speleo <martin.speleo@gmail.com>2009-07-04 16:39:59 +0100
committermartin speleo <martin.speleo@gmail.com>2009-07-04 16:39:59 +0100
commit29f084613dffbdfa005258218e9e38c0c4a44bbb (patch)
tree5c0433cf037c4744e4ffc2c7bee085a066d69fc0
parentdd76a1a0be0345bf1a2330cefe299af92b9a5721 (diff)
downloadtroggle-29f084613dffbdfa005258218e9e38c0c4a44bbb.tar.gz
troggle-29f084613dffbdfa005258218e9e38c0c4a44bbb.tar.bz2
troggle-29f084613dffbdfa005258218e9e38c0c4a44bbb.zip
[svn] removed redundant import
-rw-r--r--core/views_logbooks.py1
1 files changed, 0 insertions, 1 deletions
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