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 QuerySet methods (all(), filter(), delete(), etc.) You also cannot call Model.save() and delete() on them.

Embedded model instances won’t have a value for their primary key unless one is explicitly set.