On Dec 14, 2007 5:00 AM, Michel Sabchuk <[EMAIL PROTECTED]> wrote: > > Good morning! > > I migrate some of my applications to newforms-admin, I like it a lot, > but I miss the allow_tags feature. I think allow_tags will not be > ported, is it? So I try to work with autoescape, I marked my html > string as safe with django.utils.safestring.mark_safe function, I try > to define the function attribute is_safe to True, even the allow_tags > to True, none of this works. > > What is the sugested approach to return html strings on functions used > on admin interface? >
Looks like a bug in newforms-admin to me. Seems that somehow the fix for this on trunk (changeset 6703) didn't get merged into the newforms-admin branch. newforms-admin has code to check the setting of allow_tags, so I believe it is intended to work there. If you can't find an already open ticket for this, I'd open one. 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---