diff options
| author | Jannis Leidel <jannis@leidel.info> | 2011-06-11 15:43:51 +0000 |
|---|---|---|
| committer | Jannis Leidel <jannis@leidel.info> | 2011-06-11 15:43:51 +0000 |
| commit | 5dc7be2192ffe8b400df1921599fa1acb165bbcf (patch) | |
| tree | 5c1b643d60e95a07724a5b24640f130180bc0b44 /docs/ref | |
| parent | 4ab5a43785418a8bb46bcc480a1cf73bde631e2f (diff) | |
Fixed #16195 -- Added docs for ModelAdmin's get_changelist method. Thanks, msaelices.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16370 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index e0ddd4ae85..8f941299f7 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -355,6 +355,14 @@ subclass:: because ``raw_id_fields`` and ``radio_fields`` imply custom widgets of their own. +.. attribute:: ModelAdmin.get_changelist + + .. versionchanged:: 1.2 + + Returns the Changelist class to be used for listing. By default, + ``django.contrib.admin.views.main.ChangeList`` is used. By inheriting this + class you can change the behavior of the listing. + .. attribute:: ModelAdmin.inlines See :class:`InlineModelAdmin` objects below. |
