Ticket #12987: 12987-trunk.diff

File 12987-trunk.diff, 2.2 KB (added by ramiro, 5 years ago)
  • docs/ref/contrib/admin/index.txt

    diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt
    a b  
    647647
    648648.. attribute:: ModelAdmin.formfield_overrides
    649649
     650.. versionadded:: 1.1
     651
    650652This provides a quick-and-dirty way to override some of the
    651653:class:`~django.forms.Field` options for use in the admin.
    652654``formfield_overrides`` is a dictionary mapping a field class to a dict of
     
    687689
    688690.. attribute:: ModelAdmin.actions
    689691
     692.. versionadded:: 1.1
     693
    690694A list of actions to make available on the change list page. See
    691695:ref:`ref-contrib-admin-actions` for details.
    692696
    693697.. attribute:: ModelAdmin.actions_on_top
    694698.. attribute:: ModelAdmin.actions_on_bottom
    695699
     700.. versionadded:: 1.1
     701
    696702Controls where on the page the actions bar appears. By default, the admin
    697703changelist displays actions at the top of the page (``actions_on_top = True;
    698704actions_on_bottom = False``).
    699705
    700706.. attribute:: ModelAdmin.actions_selection_counter
    701707
     708.. versionadded:: 1.2
     709
    702710Controls whether a selection counter is display next to the action dropdown.
    703711By default, the admin changelist will display it
    704712(``actions_selection_counter = True``).
     
    714722
    715723.. attribute:: ModelAdmin.add_form_template
    716724
     725.. versionadded:: 1.2
     726
    717727Path to a custom template that will be used by the model object creation
    718728views. Templates can override or extend base admin templates as described in
    719729`Overriding Admin Templates`_.
     
    10361046to the initial forms. See the
    10371047:ref:`formsets documentation <topics-forms-formsets>` for more information.
    10381048
     1049.. versionadded:: 1.2
     1050
    10391051Extra forms for inlines will be hidden and replaced with a link to dynamically
    10401052add any number of new inlines for users with Javascript enabled.
    10411053
     
    13921404
    13931405.. attribute:: AdminSite.logout_template
    13941406
     1407.. versionadded:: 1.2
     1408
    13951409Path to a custom template that will be used by the admin site logout view.
    13961410
    13971411.. attribute:: AdminSite.password_change_template
    13981412
     1413.. versionadded:: 1.2
     1414
    13991415Path to a custom template that will be used by the admin site password change
    14001416view.
    14011417
    14021418.. attribute:: AdminSite.password_change_done_template
    14031419
     1420.. versionadded:: 1.2
     1421
    14041422Path to a custom template that will be used by the admin site password change
    14051423done view.
    14061424
Back to Top