Routers

Adaptaion of DRF routers.

You should use them instead of original DRF classes.

class rest_framework_mongoengine.routers.MongoRouterMixin

Mixin for mongo-routers.

Determines base_name from mongo queryset

class rest_framework_mongoengine.routers.SimpleRouter(trailing_slash=True)

Adaptation of DRF SimpleRouter

class rest_framework_mongoengine.routers.DefaultRouter(trailing_slash=True)

Adaptation of DRF DefaultRouter