Opened 17 years ago

Closed 17 years ago

#4369 closed (fixed)

[unicode] Missing __unicode__ in a model class is OK

Reported by: Thomas Güttler <hv@…> Owned by: Adrian Holovaty
Component: Metasystem Version: dev
Severity: Keywords:
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

Hi,

I get this message if a class of a model has no list_display:

app.myclass: "admin.list_display" refers to 'unicode', which isn't an attribute, method or property

The attached patch resolves this.

Attachments (1)

manangement.diff (732 bytes ) - added by Thomas Güttler <hv@…> 17 years ago.

Download all attachments as: .zip

Change History (3)

by Thomas Güttler <hv@…>, 17 years ago

Attachment: manangement.diff added

comment:1 by Simon G. <dev@…>, 17 years ago

Component: UncategorizedMetasystem
Has patch: set
Owner: changed from Jacob to Adrian Holovaty
Summary: Missing __unicode__ in a model class is OK[unicode] Missing __unicode__ in a model class is OK
Triage Stage: UnreviewedReady for checkin

comment:2 by Malcolm Tredinnick, 17 years ago

Resolution: fixed
Status: newclosed

This was fixed in a different way in [5322].

Note: See TracTickets for help on using tickets.
Back to Top