summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorAdam Johnson <me@adamj.eu>2020-07-15 10:27:46 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-07-16 21:12:13 +0200
commite63644d37bd2d428fb0f9c81b400bf8f8d2412b9 (patch)
tree16018f60e56dfb1e6df28c3a5492739d5e6851a3 /docs/ref
parent54dce8148ae1d2f662bbc51c4debf8549aaee081 (diff)
[3.1.x] Refs #31502 -- Made minor edits to Model._state docs.
Backport of 5ef6f626347f9ea13915f3cf5b8b045c5b42b102 from master
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/signals.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/ref/signals.txt b/docs/ref/signals.txt
index dc8c53ac2d..a4ed248769 100644
--- a/docs/ref/signals.txt
+++ b/docs/ref/signals.txt
@@ -101,10 +101,10 @@ Arguments sent with this signal:
.. note::
- ``instance._state`` isn't set before sending the ``post_init`` signal,
- so ``_state`` attributes always have their default values. For example,
- ``_state.db`` is ``None`` and cannot be used to check an ``instance``
- database.
+ :attr:`instance._state <django.db.models.Model._state>` isn't set
+ before sending the ``post_init`` signal, so ``_state`` attributes
+ always have their default values. For example, ``_state.db`` is
+ ``None``.
.. warning::