On 7/02/2015 10:29 AM, Mike Dewhirst wrote:
How do I properly apply mark_safe to text passed to params of exceptions?

mark_safe returns a string-like object so if you embed it inside another string it might get missed. I think it is best to apply mark_safe when the return value won't be changed by other methods before being displayed.

Mike

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/54D54FBB.3080002%40dewhirst.com.au.
For more options, visit https://groups.google.com/d/optout.

Reply via email to