Skip to content

Commit

Permalink
Corrected note on importing fields in model field reference docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
aruseni authored and sarahboyce committed Oct 29, 2024
1 parent 163e72e commit d7f78eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/ref/models/fields.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d7f78eb

Please sign in to comment.