On Sat, 2008-12-27 at 01:27 +0800, shreyas k wrote: > Hi Eric > Thanks a lot .i wraped the template in the autoescape tag, Now its working > fine
That's a bad idea. You've gone out of your way to remove a very useful security mechanism. It's going to be much better to learn what autoescaping is doing and apply the "safe" filter where appropriate and/or use mark_safe() in your views. Holistically putting "autoescape off" on templates was only a backwards-compatibility measure for old code when autoescaping was introduced. It's inherently unsafe! Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---