mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Removed versionadded/changed annotations for 5.2.
This commit is contained in:
@@ -324,8 +324,6 @@ the :meth:`~BaseCommand.handle` method must be implemented.
|
||||
|
||||
.. method:: BaseCommand.get_check_kwargs(options)
|
||||
|
||||
.. versionadded:: 5.2
|
||||
|
||||
Supplies kwargs for the call to :meth:`check`, including transforming the
|
||||
value of :attr:`requires_system_checks` to the ``tag`` kwarg.
|
||||
|
||||
|
||||
@@ -17,8 +17,6 @@ existing ``shell`` management command. For more details, refer to the guide on
|
||||
Customize automatic imports
|
||||
===========================
|
||||
|
||||
.. versionadded:: 5.2
|
||||
|
||||
To customize the automatic import behavior of the :djadmin:`shell` management
|
||||
command, override the ``get_auto_imports()`` method. This method should return
|
||||
a sequence of import paths for objects or modules available in the application.
|
||||
|
||||
@@ -503,8 +503,6 @@ you see fit:
|
||||
Simple block tags
|
||||
-----------------
|
||||
|
||||
.. versionadded:: 5.2
|
||||
|
||||
.. method:: django.template.Library.simple_block_tag()
|
||||
|
||||
When a section of rendered template needs to be passed into a custom tag,
|
||||
|
||||
@@ -285,10 +285,6 @@ following attributes and methods:
|
||||
|
||||
re.compile(r"API|AUTH|TOKEN|KEY|SECRET|PASS|SIGNATURE|HTTP_COOKIE", flags=re.IGNORECASE)
|
||||
|
||||
.. versionchanged:: 5.2
|
||||
|
||||
The term ``AUTH`` was added.
|
||||
|
||||
.. method:: is_active(request)
|
||||
|
||||
Returns ``True`` to activate the filtering in
|
||||
|
||||
Reference in New Issue
Block a user