Code

Ticket #12987: 12987-1.1.x.diff

File 12987-1.1.x.diff, 951 bytes (added by ramiro, 4 years ago)
Line 
1diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt
2--- a/docs/ref/contrib/admin/index.txt
3+++ b/docs/ref/contrib/admin/index.txt
4@@ -622,6 +622,8 @@
5 
6 .. attribute:: ModelAdmin.formfield_overrides
7 
8+.. versionadded:: 1.1
9+
10 This provides a quick-and-dirty way to override some of the
11 :class:`~django.forms.Field` options for use in the admin.
12 ``formfield_overrides`` is a dictionary mapping a field class to a dict of
13@@ -662,12 +664,16 @@
14 
15 .. attribute:: ModelAdmin.actions
16 
17+.. versionadded:: 1.1
18+
19 A list of actions to make available on the change list page. See
20 :ref:`ref-contrib-admin-actions` for details.
21 
22 .. attribute:: ModelAdmin.actions_on_top
23 .. attribute:: ModelAdmin.actions_on_bottom
24 
25+.. versionadded:: 1.1
26+
27 Controls where on the page the actions bar appears. By default, the admin
28 changelist displays actions at the top of the page (``actions_on_top = True;
29 actions_on_bottom = False``).