#5973: allow_tags in admin interface broken by auto-escaping
---------------------------+------------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: nobody
Status: new | Component: Admin interface
Version: SVN | Keywords:
Stage: Unreviewed | Has_patch: 0
---------------------------+------------------------------------------------
example:
{{{
class Foo(models.Model):
...
def link(self):
return "<a href='foo'>bar</a>"
link.allow_tags=True
class Admin:
list_display('link')
}}}
works only if the string returned by link is manually marked as safe
--
Ticket URL: <http://code.djangoproject.com/ticket/5973>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---