mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-01-31 23:42:31 +00:00
[svn] removed redundant import
This commit is contained in:
parent
b816463d1d
commit
fa9a6416d1
@ -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