On Mon, Aug 24, 2009 at 7:01 PM, MIL <needb...@gmail.com> wrote:Since I had
the pleasure of getting help in here once I will try

> again :o)
>
> I have read about the mark_safe, and I would like to use it, but it
> just returns the value "False"
>
> What am I doing wrong?
>
> i my view:
> from django.utils.safestring import mark_safe
> ............
> ...
> context = RequestContext(request, {
>        'title'           : title,
>        'p_txt'         : mark_safe(some_text),
> })
> .....
>

Are you sure some_text is actually some text and not something like a
boolean with value False?

Karen

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