Opened 19 years ago
Closed 18 years ago
#984 closed defect (fixed)
list_display and the repr-to-str change
Reported by: | hugo | Owned by: | Adrian Holovaty |
---|---|---|---|
Component: | contrib.admin | Version: | |
Severity: | normal | Keywords: | |
Cc: | gomo@… | Triage Stage: | Unreviewed |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
After the change of the usage of __repr__
to __str__
, the usage of __repr__
in list_display is broken - it uses a function that now returns something in brackets and so doesn't show stuff. Using __str__
instead doesn't work, because that doesn't give the correct column name.
Change History (2)
comment:1 by , 19 years ago
Cc: | added |
---|
comment:2 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I believe this has been fixed in the interim. Seems to work properly now. Please reopen with details if there is a case that still fails.
Note:
See TracTickets
for help on using tickets.
Maybe this is related to #1054?