[patch] admin doesn't html-quote strings in breadcrumbs and filters
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.
Change History
(6)
Summary: |
django admin doesn't quote str()-output in templates. → [patch] admin doesn't html-quote strings in breadcrumbs and filters
|
Description: |
modified (diff)
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Component: |
Admin interface → Unit test system
|
milestone: |
→ Version 0.92
|
priority: |
normal → highest
|
Severity: |
minor → major
|
Type: |
defect → task
|
Version: |
→ new-admin
|
patch