diff options
| author | aruseni <aruseni.magiku@gmail.com> | 2024-10-27 21:46:13 +0200 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-10-29 16:24:54 +0100 |
| commit | d7f78eb5d6c9250789fb3975b01e2a71d0e39577 (patch) | |
| tree | 42695ad5670a6475b06383ae060eb42ef12c193a /docs | |
| parent | 163e72ebbaa84804877f3d1ae212575e479b533b (diff) | |
Corrected note on importing fields in model field reference docs.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/models/fields.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index 14fc767ad7..07e86785d9 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: |
