Skip to main content

Mongoengine Support for Django Rest Framework

Project description

see README.md for markdown version

MongoEngine Model Serializer for Django Rest Framework

This serializer is an extension to Model Serializer. MongoEngine Model Serializer is pretty easy to use if you are familiar with DRF.

MongoEngine Model Serializer Provides:

Serializing
Embedding
Referencing
Validating
MongoEngine Documents
Usage

Write class meta as usual and you're done!

class CommentSerializer(MongoEngineModelSerializer):
class Meta:
model = Comment
depth = 2
related_model_validations = {'owner': User, 'post': Post}
exclude = ('isApproved',)
Requirements

MongoEngine
Django Rest Framework
Setup

No additional configuration/setup needed!

Project details


Release history Release notifications

History Node

3.3.1

History Node

3.3.0

History Node

2.0.2

History Node

2.0.1

History Node

2.0

History Node

1.5.4

History Node

1.5.3

History Node

1.5.2

History Node

1.5.1

History Node

1.5

History Node

1.4

History Node

1.3.3

This version
History Node

1.3.2

History Node

1.3.1

History Node

1.3

History Node

1.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-rest-framework-mongoengine-1.3.2.tar.gz (4.8 kB) Copy SHA256 hash SHA256 Source None Jul 23, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page