Django Rest Framework Mongoengine
Source code on github.
DRF version 3 support will be distributed under version 2.* and it will be developed on master
branch. DRF 2 development branch is moved to drf_2_support
.
This documentation is for version 2. You can find documentation for older versions (that support DRF 2) here-> [placeholder].
Version 1 Documentation
You can see version 1 documentation here (for DRF 2)
Known Issues
- EmbeddedDocumentSerializer does not work automatically with
many=True
set. - As DRF still has issues with
depth
, DRFME also still has. Depth is not working perfectly.
Changelog
version 2.0
- Migrated to DRF 3
- Old
MongoEngineModelSerializer
is nowDocumentSerializer
. - You can use nested serializers now, just like documented on DRF3 [placeholder].
- New
EmbeddedDocumentSerializer
forEmbeddedDocument
. - New
ObjectIdField
. - Old
MongoDocumentField
is nowDocumentField
- Generic views refactor