mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #36570 -- Removed unnecessary :py domain from documentation roles.
Signed-off-by: SaJH <wogur981208@gmail.com>
This commit is contained in:
@@ -1060,7 +1060,7 @@ representation of the JSON scalar ``null`` is the same as SQL ``NULL``, i.e.
|
||||
``None``. Therefore, it can be hard to distinguish between them.
|
||||
|
||||
This only applies to ``None`` as the top-level value of the field. If ``None``
|
||||
is inside a :py:class:`list` or :py:class:`dict`, it will always be interpreted
|
||||
is inside a :class:`list` or :class:`dict`, it will always be interpreted
|
||||
as JSON ``null``.
|
||||
|
||||
When querying, ``None`` value will always be interpreted as JSON ``null``. To
|
||||
|
||||
@@ -113,7 +113,7 @@ Django provides a single API to control database transactions.
|
||||
durability and can be achieved by setting ``durable=True``. If the
|
||||
``atomic`` block is nested within another it raises a ``RuntimeError``.
|
||||
|
||||
``atomic`` is usable both as a :py:term:`decorator`::
|
||||
``atomic`` is usable both as a :term:`decorator`::
|
||||
|
||||
from django.db import transaction
|
||||
|
||||
@@ -123,7 +123,7 @@ Django provides a single API to control database transactions.
|
||||
# This code executes inside a transaction.
|
||||
do_stuff()
|
||||
|
||||
and as a :py:term:`context manager`::
|
||||
and as a :term:`context manager`::
|
||||
|
||||
from django.db import transaction
|
||||
|
||||
|
||||
Reference in New Issue
Block a user