Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #12987 - Added a few versionadded directives to the admin docs.…

… Thanks, Ramiro Morales.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit c6b737c243ddcd72a3359a136c31b8e8fa3f992a 1 parent e889b69
Jannis Leidel authored March 01, 2010

Showing 1 changed file with 18 additions and 0 deletions. Show diff stats Hide diff stats

  1. 18  docs/ref/contrib/admin/index.txt
18  docs/ref/contrib/admin/index.txt
@@ -647,6 +647,8 @@ with an operator:
647 647
 
648 648
 .. attribute:: ModelAdmin.formfield_overrides
649 649
 
  650
+.. versionadded:: 1.1
  651
+
650 652
 This provides a quick-and-dirty way to override some of the
651 653
 :class:`~django.forms.Field` options for use in the admin.
652 654
 ``formfield_overrides`` is a dictionary mapping a field class to a dict of
@@ -687,18 +689,24 @@ The value is another dictionary; these arguments will be passed to
687 689
 
688 690
 .. attribute:: ModelAdmin.actions
689 691
 
  692
+.. versionadded:: 1.1
  693
+
690 694
 A list of actions to make available on the change list page. See
691 695
 :ref:`ref-contrib-admin-actions` for details.
692 696
 
693 697
 .. attribute:: ModelAdmin.actions_on_top
694 698
 .. attribute:: ModelAdmin.actions_on_bottom
695 699
 
  700
+.. versionadded:: 1.1
  701
+
696 702
 Controls where on the page the actions bar appears. By default, the admin
697 703
 changelist displays actions at the top of the page (``actions_on_top = True;
698 704
 actions_on_bottom = False``).
699 705
 
700 706
 .. attribute:: ModelAdmin.actions_selection_counter
701 707
 
  708
+.. versionadded:: 1.2
  709
+
702 710
 Controls whether a selection counter is display next to the action dropdown.
703 711
 By default, the admin changelist will display it
704 712
 (``actions_selection_counter = True``).
@@ -714,6 +722,8 @@ that provides the standard appearance is used.
714 722
 
715 723
 .. attribute:: ModelAdmin.add_form_template
716 724
 
  725
+.. versionadded:: 1.2
  726
+
717 727
 Path to a custom template that will be used by the model object creation
718 728
 views. Templates can override or extend base admin templates as described in
719 729
 `Overriding Admin Templates`_.
@@ -1036,6 +1046,8 @@ This controls the number of extra forms the formset will display in addition
1036 1046
 to the initial forms. See the
1037 1047
 :ref:`formsets documentation <topics-forms-formsets>` for more information.
1038 1048
 
  1049
+.. versionadded:: 1.2
  1050
+
1039 1051
 Extra forms for inlines will be hidden and replaced with a link to dynamically
1040 1052
 add any number of new inlines for users with Javascript enabled.
1041 1053
 
@@ -1392,15 +1404,21 @@ Path to a custom template that will be used by the admin site login view.
1392 1404
 
1393 1405
 .. attribute:: AdminSite.logout_template
1394 1406
 
  1407
+.. versionadded:: 1.2
  1408
+
1395 1409
 Path to a custom template that will be used by the admin site logout view.
1396 1410
 
1397 1411
 .. attribute:: AdminSite.password_change_template
1398 1412
 
  1413
+.. versionadded:: 1.2
  1414
+
1399 1415
 Path to a custom template that will be used by the admin site password change
1400 1416
 view.
1401 1417
 
1402 1418
 .. attribute:: AdminSite.password_change_done_template
1403 1419
 
  1420
+.. versionadded:: 1.2
  1421
+
1404 1422
 Path to a custom template that will be used by the admin site password change
1405 1423
 done view.
1406 1424
 

0 notes on commit c6b737c

Please sign in to comment.
Something went wrong with that request. Please try again.