Opened 18 years ago
Closed 15 years ago
#2140 closed defect (fixed)
short_description in admin for get_absolute_url doesn't work due to currying
Reported by: | Rudolph Froger | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
Severity: | normal | Keywords: | nfa-changelist |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | UI/UX: |
Description
If a method is used in 'list_display' of the Admin interface, that method should have a short_description function attribute, for use as the header for the field. This doesn't work for get_absolute_url. A work around is to call the get_absolute_url from another method and use that method in list_display, so I give it lowest priority.
Change History (6)
comment:1 by , 18 years ago
comment:3 by , 18 years ago
Summary: | short_description fot get_absolute_url doesn't work → short_description in admin for get_absolute_url doesn't work due to currying |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:5 by , 17 years ago
Keywords: | nfa-changelist added |
---|
Note:
See TracTickets
for help on using tickets.
For the record, this is happening due to http://code.djangoproject.com/browser/django/trunk/django/db/models/base.py?rev=3490#L155 .