for some reasons ,i put some html fragment if the db and then render  
them in the template.
but when i update to django 1.0,
what i get in the rendered html are esceped.
in django 1.0
I get My name is <div>Stephane</div>.
from django.template import Template
from django.template import Context
t = Template("My name is {{ name }}.")
c = Context({"name": "<div>Stephane</div>"})
print t.render(c)
but in django 0.96
I get My name is <div>Stephane</div>.

how can i disable the auto escape of the rendering of template?
now ,i just replace the template dir of django 1.0 with that of django  
0.96,
it works,
but i wonder what should i do if i want to use the template is django  
1.0?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to