File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -458,9 +458,9 @@ and modifies the ``Movie`` model to include the ``EmbeddedModelField``:
458
458
Use an EmbeddedModelArrayField
459
459
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
460
460
461
- You can use an ``EmbeddedModelArrayField`` to represent a MongoDB ``Object``
462
- that stores an array of documents. Each document in the array corresponds
463
- to a {+django-odm+} ``EmbeddedModelField`` value. To create an ``EmbeddedModelArrayField``,
461
+ You can use an ``EmbeddedModelArrayField`` to represent a MongoDB document
462
+ field that stores an array of documents in a one-to-many relationship. Each
463
+ document in the array corresponds to a {+django-odm+} ``EmbeddedModelField`` value. To create an ``EmbeddedModelArrayField``,
464
464
use the ``EmbeddedModelArrayField()`` class constructor and pass the following arguments:
465
465
466
466
- ``embedded_model``: Specifies the model stored in each array item.
You can’t perform that action at this time.
0 commit comments