summaryrefslogtreecommitdiff
path: root/docs/ref/forms
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/forms
parent1285de557b0b8b9c5ebe5de0114b2da5abe60f80 (diff)
Fixed #36570 -- Removed unnecessary :py domain from documentation roles.
Signed-off-by: SaJH <wogur981208@gmail.com>
Diffstat (limited to 'docs/ref/forms')
-rw-r--r--docs/ref/forms/fields.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt
index c786239c25..6108932d58 100644
--- a/docs/ref/forms/fields.txt
+++ b/docs/ref/forms/fields.txt
@@ -919,7 +919,7 @@ For each field, we describe the default widget used if you don't specify
.. attribute:: encoder
- A :py:class:`json.JSONEncoder` subclass to serialize data types not
+ A :class:`json.JSONEncoder` subclass to serialize data types not
supported by the standard JSON serializer (e.g. ``datetime.datetime``
or :class:`~python:uuid.UUID`). For example, you can use the
:class:`~django.core.serializers.json.DjangoJSONEncoder` class.
@@ -928,14 +928,14 @@ For each field, we describe the default widget used if you don't specify
.. attribute:: decoder
- A :py:class:`json.JSONDecoder` subclass to deserialize the input. Your
+ A :class:`json.JSONDecoder` subclass to deserialize the input. Your
deserialization may need to account for the fact that you can't be
certain of the input type. For example, you run the risk of returning a
``datetime`` that was actually a string that just happened to be in the
same format chosen for ``datetime``\s.
The ``decoder`` can be used to validate the input. If
- :py:class:`json.JSONDecodeError` is raised during the deserialization,
+ :class:`json.JSONDecodeError` is raised during the deserialization,
a ``ValidationError`` will be raised.
Defaults to ``json.JSONDecoder``.