> However, it seems that the redirect removes the safe_marking around my
> message! since the result I get in my browser is html-encoded!

It won't work that way, safe string alters the class not the contents of the 
string [1]. The message module turns the string into JSON and stores it. Then 
when read it does the reverse turning it back into a string.

You'll have either to alter that behaviour or find another way around.

[1] 
https://code.djangoproject.com/browser/django/trunk/django/utils/safestring.py#L89
--
  Andy McKay
  a...@clearwind.ca
  twitter: @andymckay
 

-- 
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.

Reply via email to