From fdf9602961bce9439d489ea2d1b11b919b0c7cf4 Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Mon, 21 Feb 2011 19:15:02 +0000 Subject: Fixed #11058 - list_display_links doesn't allow callables not defined in the model Thanks to dvine for the report and julien for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15619 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/contrib/admin/index.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index 42c0a34055..c28dc8b7b3 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -479,11 +479,11 @@ subclass:: By default, the change list page will link the first column -- the first field specified in ``list_display`` -- to the change page for each item. But ``list_display_links`` lets you change which columns are linked. Set - ``list_display_links`` to a list or tuple of field names (in the same + ``list_display_links`` to a list or tuple of fields (in the same format as ``list_display``) to link. - ``list_display_links`` can specify one or many field names. As long as the - field names appear in ``list_display``, Django doesn't care how many (or + ``list_display_links`` can specify one or many fields. As long as the + fields appear in ``list_display``, Django doesn't care how many (or how few) fields are linked. The only requirement is: If you want to use ``list_display_links``, you must define ``list_display``. -- cgit v1.3