forked from expo/troggle
[svn] removed redundant import
This commit is contained in:
parent
dd76a1a0be
commit
29f084613d
@ -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.
|
# 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
|
from troggle.alwaysUseRequestContext import render_response
|
||||||
|
|
||||||
import search
|
|
||||||
import re
|
import re
|
||||||
|
|
||||||
@models.permalink #this allows the nice get_absolute_url syntax we are using
|
@models.permalink #this allows the nice get_absolute_url syntax we are using
|
||||||
|
Loading…
Reference in New Issue
Block a user