1
0
mirror of https://github.com/django/django.git synced 2025-07-05 10:19:20 +00:00

[1.1.X] Fixed #12987 - Added a few versionadded directives to the docs. Thanks, Ramiro Morales.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12629 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jannis Leidel 2010-03-01 14:41:11 +00:00
parent 4871b654b5
commit f09eabfb90

View File

@ -622,6 +622,8 @@ with an operator:
.. attribute:: ModelAdmin.formfield_overrides .. attribute:: ModelAdmin.formfield_overrides
.. versionadded:: 1.1
This provides a quick-and-dirty way to override some of the This provides a quick-and-dirty way to override some of the
:class:`~django.forms.Field` options for use in the admin. :class:`~django.forms.Field` options for use in the admin.
``formfield_overrides`` is a dictionary mapping a field class to a dict of ``formfield_overrides`` is a dictionary mapping a field class to a dict of
@ -662,12 +664,16 @@ The value is another dictionary; these arguments will be passed to
.. attribute:: ModelAdmin.actions .. attribute:: ModelAdmin.actions
.. versionadded:: 1.1
A list of actions to make available on the change list page. See A list of actions to make available on the change list page. See
:ref:`ref-contrib-admin-actions` for details. :ref:`ref-contrib-admin-actions` for details.
.. attribute:: ModelAdmin.actions_on_top .. attribute:: ModelAdmin.actions_on_top
.. attribute:: ModelAdmin.actions_on_bottom .. attribute:: ModelAdmin.actions_on_bottom
.. versionadded:: 1.1
Controls where on the page the actions bar appears. By default, the admin Controls where on the page the actions bar appears. By default, the admin
changelist displays actions at the top of the page (``actions_on_top = True; changelist displays actions at the top of the page (``actions_on_top = True;
actions_on_bottom = False``). actions_on_bottom = False``).