#2321: list_display_links (tuple)
---------------------------------------+------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: adrian
Type: defect | Status: closed
Priority: normal | Milestone:
Component: Admin interface | Version:
Severity: normal | Resolution: invalid
Keywords: |
---------------------------------------+------------------------------------
Changes (by mtredinnick):
* resolution: => invalid
* status: new => closed
Comment:
list_display_links takes a sequence as its argument (just like
list_display_filter). I think this is fairly clear from the examples.
In Python {{{('title')}}} is just a string, whereas {{{('title',)}}} is a
1-tuple. So the former is not expected to work. If you don't like the
trailing comma, {{{['title']}}} will also work.
I can't see anywhere in the documentation that we are using the incorrect
{{{('title')}}} format, but, if so, please reopen with a pointer to the
place.
--
Ticket URL: <http://code.djangoproject.com/ticket/2321>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---