diff options
Diffstat (limited to 'docs/ref/contrib/admin')
| -rw-r--r-- | docs/ref/contrib/admin/filters.txt | 2 | ||||
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 24 |
2 files changed, 0 insertions, 26 deletions
diff --git a/docs/ref/contrib/admin/filters.txt b/docs/ref/contrib/admin/filters.txt index fc70a1d6b2..d55e6fb946 100644 --- a/docs/ref/contrib/admin/filters.txt +++ b/docs/ref/contrib/admin/filters.txt @@ -216,8 +216,6 @@ concrete example. Facets ====== -.. versionadded:: 5.0 - By default, counts for each filter, known as facets, can be shown by toggling on via the admin UI. These counts will update according to the currently applied filters. See :attr:`ModelAdmin.show_facets` for more details. diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index b7e94c7387..20f2ce7582 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -839,10 +839,6 @@ subclass:: full_name = property(my_property) - .. versionchanged:: 5.0 - - Support for ``boolean`` attribute on properties was added. - * The field names in ``list_display`` will also appear as CSS classes in the HTML output, in the form of ``column-<field_name>`` on each ``<th>`` element. This can be used to set column widths in a CSS file for example. @@ -1028,8 +1024,6 @@ subclass:: .. attribute:: ModelAdmin.show_facets - .. versionadded:: 5.0 - Controls whether facet counts are displayed for filters in the admin changelist. Defaults to :attr:`.ShowFacets.ALLOW`. @@ -1037,8 +1031,6 @@ subclass:: .. class:: ShowFacets - .. versionadded:: 5.0 - Enum of allowed values for :attr:`.ModelAdmin.show_facets`. .. attribute:: ALWAYS @@ -1895,10 +1887,6 @@ templates used by the :class:`ModelAdmin` views: Override this method to customize the lookups permitted for your :class:`~django.contrib.admin.ModelAdmin` subclass. - .. versionchanged:: 5.0 - - The ``request`` argument was added. - .. method:: ModelAdmin.has_view_permission(request, obj=None) Should return ``True`` if viewing ``obj`` is permitted, ``False`` otherwise. @@ -2160,10 +2148,6 @@ forms or widgets depending on ``django.jQuery`` must specify ``js=['admin/js/jquery.init.js', …]`` when :ref:`declaring form media assets <assets-as-a-static-definition>`. -.. versionchanged:: 5.0 - - jQuery was upgraded from 3.6.4 to 3.7.1. - The :class:`ModelAdmin` class requires jQuery by default, so there is no need to add jQuery to your ``ModelAdmin``’s list of media resources unless you have a specific need. For example, if you require the jQuery library to be in the @@ -2879,10 +2863,6 @@ Templates can override or extend base admin templates as described in The text to put at the top of each admin page, as a ``<div>`` (a string). By default, this is "Django administration". - .. versionchanged:: 5.0 - - In older versions, ``site_header`` was using an ``<h1>`` tag. - .. attribute:: AdminSite.site_title The text to put at the end of each admin page's ``<title>`` (a string). By @@ -3054,15 +3034,11 @@ Templates can override or extend base admin templates as described in .. method:: AdminSite.get_model_admin(model) - .. versionadded:: 5.0 - Returns an admin class for the given model class. Raises ``django.contrib.admin.exceptions.NotRegistered`` if a model isn't registered. .. method:: AdminSite.get_log_entries(request) - .. versionadded:: 5.0 - Returns a queryset for the related :class:`~django.contrib.admin.models.LogEntry` instances, shown on the site index page. This method can be overridden to filter the log entries by |
