Opened 14 years ago

Closed 13 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


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 Changed 14 years ago by GomoX <gomo@…>

Cc: gomo@… added

Maybe this is related to #1054?

comment:2 Changed 13 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

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.
Back to Top