Opened 9 years ago

Closed 9 years ago

#984 closed defect (fixed)

list_display and the repr-to-str change

Reported by: hugo Owned by: adrian
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: UI/UX:

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

  • Cc gomo@… added

Maybe this is related to #1054?

comment:2 Changed 9 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to 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.
Back to Top