Model reference¶
One MongoDB-specific model is available in django_mongodb_backend.models.
- class EmbeddedModel¶
An abstract model which all embedded models must subclass.
Since these models are not stored in their own collection, they do not have any of the normal
QuerySetmethods (all(),filter(),delete(), etc.) You also cannot callModel.save()anddelete()on them.Embedded model instances won’t have a value for their primary key unless one is explicitly set.