Author: jezdez Date: 2010-03-01 08:43:26 -0600 (Mon, 01 Mar 2010) New Revision: 12630
Modified: django/trunk/docs/ref/contrib/admin/index.txt Log: Fixed #12987 - Added a few versionadded directives to the admin docs. Thanks, Ramiro Morales. Modified: django/trunk/docs/ref/contrib/admin/index.txt =================================================================== --- django/trunk/docs/ref/contrib/admin/index.txt 2010-03-01 14:41:11 UTC (rev 12629) +++ django/trunk/docs/ref/contrib/admin/index.txt 2010-03-01 14:43:26 UTC (rev 12630) @@ -647,6 +647,8 @@ .. attribute:: ModelAdmin.formfield_overrides +.. versionadded:: 1.1 + This provides a quick-and-dirty way to override some of the :class:`~django.forms.Field` options for use in the admin. ``formfield_overrides`` is a dictionary mapping a field class to a dict of @@ -687,18 +689,24 @@ .. attribute:: ModelAdmin.actions +.. versionadded:: 1.1 + A list of actions to make available on the change list page. See :ref:`ref-contrib-admin-actions` for details. .. attribute:: ModelAdmin.actions_on_top .. attribute:: ModelAdmin.actions_on_bottom +.. versionadded:: 1.1 + 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; actions_on_bottom = False``). .. attribute:: ModelAdmin.actions_selection_counter +.. versionadded:: 1.2 + Controls whether a selection counter is display next to the action dropdown. By default, the admin changelist will display it (``actions_selection_counter = True``). @@ -714,6 +722,8 @@ .. attribute:: ModelAdmin.add_form_template +.. versionadded:: 1.2 + Path to a custom template that will be used by the model object creation views. Templates can override or extend base admin templates as described in `Overriding Admin Templates`_. @@ -1036,6 +1046,8 @@ to the initial forms. See the :ref:`formsets documentation <topics-forms-formsets>` for more information. +.. versionadded:: 1.2 + Extra forms for inlines will be hidden and replaced with a link to dynamically add any number of new inlines for users with Javascript enabled. @@ -1392,15 +1404,21 @@ .. attribute:: AdminSite.logout_template +.. versionadded:: 1.2 + Path to a custom template that will be used by the admin site logout view. .. attribute:: AdminSite.password_change_template +.. versionadded:: 1.2 + Path to a custom template that will be used by the admin site password change view. .. attribute:: AdminSite.password_change_done_template +.. versionadded:: 1.2 + Path to a custom template that will be used by the admin site password change done view. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.