mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Removed versionadded/changed annotations for 1.8.
This commit is contained in:
parent
48e7787db5
commit
54848a96dd
74 changed files with 44 additions and 852 deletions
|
@ -915,8 +915,6 @@ subclass::
|
|||
('is_staff', admin.BooleanFieldListFilter),
|
||||
)
|
||||
|
||||
.. versionadded:: 1.8
|
||||
|
||||
You can now limit the choices of a related model to the objects
|
||||
involved in that relation using ``RelatedOnlyFieldListFilter``::
|
||||
|
||||
|
@ -1200,8 +1198,6 @@ subclass::
|
|||
|
||||
.. attribute:: ModelAdmin.show_full_result_count
|
||||
|
||||
.. versionadded:: 1.8
|
||||
|
||||
Set ``show_full_result_count`` to control whether the full count of objects
|
||||
should be displayed on a filtered admin page (e.g. ``99 results (103 total)``).
|
||||
If this option is set to ``False``, a text like ``99 results (Show all)``
|
||||
|
@ -1711,8 +1707,6 @@ templates used by the :class:`ModelAdmin` views:
|
|||
|
||||
.. method:: ModelAdmin.has_module_permission(request)
|
||||
|
||||
.. versionadded:: 1.8
|
||||
|
||||
Should return ``True`` if displaying the module on the admin index page and
|
||||
accessing the module's index page is permitted, ``False`` otherwise.
|
||||
Uses :meth:`User.has_module_perms()
|
||||
|
@ -1788,10 +1782,6 @@ templates used by the :class:`ModelAdmin` views:
|
|||
``obj_id`` is the serialized identifier used to retrieve the object to be
|
||||
deleted.
|
||||
|
||||
.. versionadded:: 1.8
|
||||
|
||||
The ``obj_id`` parameter was added.
|
||||
|
||||
.. method:: ModelAdmin.get_changeform_initial_data(request)
|
||||
|
||||
A hook for the initial data on admin change forms. By default, fields are
|
||||
|
@ -1895,10 +1885,6 @@ To avoid conflicts with user-supplied scripts or libraries, Django's jQuery
|
|||
in your own admin JavaScript without including a second copy, you can use the
|
||||
``django.jQuery`` object on changelist and add/edit views.
|
||||
|
||||
.. versionchanged:: 1.8
|
||||
|
||||
The embedded jQuery has been upgraded from 1.9.1 to 1.11.2.
|
||||
|
||||
.. versionchanged:: 1.9
|
||||
|
||||
The embedded jQuery has been upgraded from 1.11.2 to 2.1.4. This drops
|
||||
|
@ -2119,8 +2105,6 @@ The ``InlineModelAdmin`` class adds:
|
|||
|
||||
.. attribute:: InlineModelAdmin.show_change_link
|
||||
|
||||
.. versionadded:: 1.8
|
||||
|
||||
Specifies whether or not inline objects that can be changed in the
|
||||
admin have a link to the change form. Defaults to ``False``.
|
||||
|
||||
|
@ -2519,8 +2503,6 @@ Templates can override or extend base admin templates as described in
|
|||
|
||||
.. attribute:: AdminSite.site_url
|
||||
|
||||
.. versionadded:: 1.8
|
||||
|
||||
The URL for the "View site" link at the top of each admin page. By default,
|
||||
``site_url`` is ``/``. Set it to ``None`` to remove the link.
|
||||
|
||||
|
@ -2603,10 +2585,6 @@ Templates can override or extend base admin templates as described in
|
|||
* ``admin_url``: admin changelist URL for the model
|
||||
* ``add_url``: admin URL to add a new model instance
|
||||
|
||||
.. versionchanged:: 1.8
|
||||
|
||||
The ``request`` argument and the ``has_permission`` variable were added.
|
||||
|
||||
.. versionchanged:: 1.9
|
||||
|
||||
The ``available_apps`` variable was added.
|
||||
|
@ -2732,12 +2710,6 @@ a pattern for your new view.
|
|||
``AdminSite`` or ``self.admin_site.name`` if your view is on a
|
||||
``ModelAdmin``.
|
||||
|
||||
.. versionchanged:: 1.8
|
||||
|
||||
In previous versions of Django, you had to provide the ``current_app``
|
||||
argument to :class:`~django.template.RequestContext` or
|
||||
:class:`~django.template.Context` when rendering the template.
|
||||
|
||||
.. _auth_password_reset:
|
||||
|
||||
Adding a password-reset feature
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue