django-rest-framework-mongoengine-hack

Hack for django-rest-framework-mongoengine to support newer mongoengine and drf


Keywords
mongoengine, serializer, django, rest, framework
License
MIT-feh
Install
pip install django-rest-framework-mongoengine-hack==1.0.0

Documentation

Django Rest Framework Mongoengine

This is a hack for django-rest-framework-mongoengine

the base version forked from tweiand-10m2.

he fix some bug but not merge into official code.

Installation

pip install django-rest-framework-mongoengine-hack

Don't forget to add the package to installed apps.

INSTALLED_APPS = (
    ...
    'rest_framework_mongoengine',
)

Change Note

version 1.0

  • change OrderedDict import path to support newer drf
  • make EmbeddedDocumentSerializer work
  • support for mongoengine 0.9+
  • fix error when exclude is not in DocumentSerializer
  • add LongField support