Pārlūkot izejas kodu

Corrected note on importing fields in model field reference docs.

aruseni 4 mēneši atpakaļ
vecāks
revīzija
d7f78eb5d6
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3 3
      docs/ref/models/fields.txt

+ 3 - 3
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: