why 'No module named safestring'?

2009-01-11 Thread frank Shi
i use django 0.96 ,template render html string. from django.utils.safestring import mark_safe context=Context({ 'div1':mark_safe(obj), }) return HttpResponse(template.render(context)) it's error: No module named safestring?why already install python 2.5 --~--~-~--~~-

Re: why 'No module named safestring'?

2009-01-11 Thread frank Shi
thanks David On Jan 12, 11:53 am, "David Zhou" wrote: > On Sun, Jan 11, 2009 at 10:25 PM, frank Shi wrote: > > > i use django 0.96 ,template render html string. > > > from django.utils.safestring import mark_safe > > context=Context({ > >        &#x

django 0.96 cancel template render automatically escape?

2009-01-12 Thread frank Shi
how do cancel django 0.96 template render automatically escape? 0.96 after version can use mark_safe() function..etc..,but i can't update new version. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users"