diff --git a/docs/ref/contrib/admin/actions.txt b/docs/ref/contrib/admin/actions.txt
index 86a5355..0fab59e 100644
a
|
b
|
Defining actions as methods gives the action more straightforward, idiomatic
|
175 | 175 | access to the :class:`ModelAdmin` itself, allowing the action to call any of the |
176 | 176 | methods provided by the admin. |
177 | 177 | |
| 178 | .. _custom-admin-action: |
| 179 | |
178 | 180 | For example, we can use ``self`` to flash a message to the user informing her |
179 | 181 | that the action was successful:: |
180 | 182 | |
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt
index 4c72cf1..63429c0 100644
a
|
b
|
templates used by the :class:`ModelAdmin` views:
|
933 | 933 | return qs |
934 | 934 | return qs.filter(author=request.user) |
935 | 935 | |
| 936 | .. method:: ModelAdmin.message_user(request, message) |
| 937 | |
| 938 | Sends a message to the user. The default implementation posts a message |
| 939 | using the :mod:`django.contrib.messages` backend. See the |
| 940 | :ref:`custom ModelAdmin example <custom-admin-action>`. |
| 941 | |
936 | 942 | Other methods |
937 | 943 | ~~~~~~~~~~~~~ |
938 | 944 | |