summaryrefslogtreecommitdiff
path: root/docs/ref/request-response.txt
diff options
context:
space:
mode:
authorSaJH <wogur981208@gmail.com>2025-08-26 00:50:53 +0900
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2025-08-28 08:52:43 +0200
commit3c0c54351b58e9386375d2bd7a8c60dadc4bb6e8 (patch)
tree38a78ca516fc998ae29818fa7950af5278bc7c9b /docs/ref/request-response.txt
parent1285de557b0b8b9c5ebe5de0114b2da5abe60f80 (diff)
Fixed #36570 -- Removed unnecessary :py domain from documentation roles.
Signed-off-by: SaJH <wogur981208@gmail.com>
Diffstat (limited to 'docs/ref/request-response.txt')
-rw-r--r--docs/ref/request-response.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt
index ab1f3575e8..892dc24008 100644
--- a/docs/ref/request-response.txt
+++ b/docs/ref/request-response.txt
@@ -889,7 +889,7 @@ Attributes
.. attribute:: HttpResponse.cookies
- A :py:obj:`http.cookies.SimpleCookie` object holding the cookies included
+ A :obj:`http.cookies.SimpleCookie` object holding the cookies included
in the response.
.. attribute:: HttpResponse.headers
@@ -952,7 +952,7 @@ Methods
``"text/html; charset=utf-8"``.
``status`` is the :rfc:`HTTP status code <9110#section-15>` for the
- response. You can use Python's :py:class:`http.HTTPStatus` for meaningful
+ response. You can use Python's :class:`http.HTTPStatus` for meaningful
aliases, such as ``HTTPStatus.NO_CONTENT``.
``reason`` is the HTTP response phrase. If not provided, a default phrase
@@ -1187,7 +1187,7 @@ Custom response classes
~~~~~~~~~~~~~~~~~~~~~~~
If you find yourself needing a response class that Django doesn't provide, you
-can create it with the help of :py:class:`http.HTTPStatus`. For example::
+can create it with the help of :class:`http.HTTPStatus`. For example::
from http import HTTPStatus
from django.http import HttpResponse