Opened 17 years ago
Closed 17 years ago
#4369 closed (fixed)
[unicode] Missing __unicode__ in a model class is OK
Reported by: | 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)
Change History (3)
by , 17 years ago
Attachment: | manangement.diff added |
---|
comment:1 by , 17 years ago
Component: | Uncategorized → Metasystem |
---|---|
Has patch: | set |
Owner: | changed from | to
Summary: | Missing __unicode__ in a model class is OK → [unicode] Missing __unicode__ in a model class is OK |
Triage Stage: | Unreviewed → Ready for checkin |
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This was fixed in a different way in [5322].