summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authoraruseni <aruseni.magiku@gmail.com>2024-10-27 21:46:13 +0200
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-10-29 16:49:02 +0100
commitc5ddc8550c5834e8b1952445ebfb217563de128f (patch)
tree06fa03700c9beb1aacbbe7b55e23bdf75596ceaa /docs/ref
parent0a1091f11835ad817522f1a19528a3d66d18c2e3 (diff)
[5.1.x] Corrected note on importing fields in model field reference docs.
Backport of d7f78eb5d6c9250789fb3975b01e2a71d0e39577 from main.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/models/fields.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt
index b552be5088..2b1ce96dda 100644
--- a/docs/ref/models/fields.txt
+++ b/docs/ref/models/fields.txt
@@ -22,9 +22,9 @@ This document contains all the API references of :class:`Field` including the
.. note::
- Technically, these models are defined in :mod:`django.db.models.fields`, but
- for convenience they're imported into :mod:`django.db.models`; the standard
- convention is to use ``from django.db import models`` and refer to fields as
+ Fields are defined in :mod:`django.db.models.fields`, but for convenience
+ they're imported into :mod:`django.db.models`. The standard convention is
+ to use ``from django.db import models`` and refer to fields as
``models.<Foo>Field``.
.. _common-model-field-options: