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