Kaydet (Commit) b798d2bf authored tarafından Tim Graham's avatar Tim Graham

Added versionadded annotations for redirect middleware attributes.

refs #19321
üst e82e7ae1
...@@ -89,6 +89,8 @@ Middleware ...@@ -89,6 +89,8 @@ Middleware
.. attribute:: response_gone_class .. attribute:: response_gone_class
.. versionadded:: 1.7
The :class:`~django.http.HttpResponse` class used when a The :class:`~django.http.HttpResponse` class used when a
:class:`~django.contrib.redirects.models.Redirect` is not :class:`~django.contrib.redirects.models.Redirect` is not
found for the requested path or has a blank ``new_path`` found for the requested path or has a blank ``new_path``
...@@ -98,6 +100,8 @@ Middleware ...@@ -98,6 +100,8 @@ Middleware
.. attribute:: response_redirect_class .. attribute:: response_redirect_class
.. versionadded:: 1.7
The :class:`~django.http.HttpResponse` class that handles the The :class:`~django.http.HttpResponse` class that handles the
redirect. redirect.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment