Re: Safe tag is working differently for different view.

2015-11-06 Thread sonu kumar
Yeah , I am sure both are using same template. I am using same template on many pages. On all pages it's working fine. Only on one page question answer it's not working as expected. I couldn't find any solution till now. On Thursday, November 5, 2015 at 8:48:05 PM UTC+5:30, Collin Anderson wrot

Re: Safe tag is working differently for different view.

2015-11-05 Thread Collin Anderson
Hello, Are you sure they're using the same template? (If you change something does it actually affect both views?) Is one of the views using mark_safe? Collin On Tuesday, October 27, 2015 at 9:29:02 PM UTC+1, sonu kumar wrote: > > I am having two views both are extending from same base.html an

Safe tag is working differently for different view.

2015-10-27 Thread sonu kumar
I am having two views both are extending from same base.html and both of them have loaded same template tags, but one is escaping string using safe and other is not what could be Code view 1 {% extends 'base.html' %} {% load inplace_edit mezzanine_tags rating_tags keyword_tags comment_tags n