#4991: help_text not escaped in admin
-----------------------+----------------------------------------------------
Reporter: anonymous | Owner: adrian
Status: new | Component: Admin interface
Version: SVN | Keywords: help_text escape
Stage: Unreviewed | Has_patch: 0
-----------------------+----------------------------------------------------
Help text in models is not escaped in admin.
<code>
class Post(models.Model) :
title = models.CharField(maxlength=1000,null=True,blank=True,
help_text='<obvious>This is the title</obvious>')
</code>
The admin interface will not show it (and using non-closed <blink> could
be fun)
I guess this is a bug or it should be documented in models that help_text
must be html.
I would propose no html in models.py, (so escaping help_text and no
formatting in help text).
Maybe ReST would be the best of both worlds.
--
Ticket URL: <http://code.djangoproject.com/ticket/4991>
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
-~----------~----~----~----~------~----~------~--~---