Opened 18 years ago
Closed 18 years ago
#6356 closed (fixed)
EasyInstance url() not marked safe
| Reported by: | tangerine | Owned by: | nobody |
|---|---|---|---|
| Component: | contrib.databrowse | Version: | dev |
| Severity: | Keywords: | databrowse | |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
While using the databrowse app I noticed that the url method of EasyInstance is not marking the returned string as safe. I've attached a patch which marks this safe as well as a change to the __repr__ method of EasyModel to match the use of smart_str() as on other other classes.
Attachments (1)
Change History (3)
by , 18 years ago
| Attachment: | datastructures.diff added |
|---|
comment:1 by , 18 years ago
| Has patch: | set |
|---|---|
| Triage Stage: | Unreviewed → Ready for checkin |
comment:2 by , 18 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Patch