#2006: django admin doesn't quote str()-output in templates.
-----------------------------+----------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: adrian
Type: defect | Status: new
Priority: normal | Milestone:
Component: Admin interface | Version:
Severity: minor | Keywords:
-----------------------------+----------------------------------------------
When the admin site uses a models __str__()-method, it doesn't html-quote
it.
For example:
def __str__(self):
return '%s <%s>' %(self.name, self.email)
would show up in the admin site as just the name, because my browser
thinks <email> is a bad tag.
--
Ticket URL: <http://code.djangoproject.com/ticket/2006>
Django <http://code.djangoproject.org/>
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
-~----------~----~----~----~------~----~------~--~---