tags:

views:

48

answers:

1

I like mongodb and django,and there are some frameworks to select:

  • mongodbengine
  • django-mongodb-engine

Mongodbengine has good performance and django ORM like api,but when serialize ,it's not supported now.

Django-mongodb-engine is a django backend,you can use it with django ORM.

So django-mongodb-engine is better? and how about its performance?

A: 

There are a number of projects out there for incorporating MongoDB with Django but the best one (I believe) is yet to come. Alex Gaynor's Google Summer of Code project is working on a queryset refactor of the Django ORM to allow for non-relational backends. In his last update he stated that they have a working MongoDB backend:

Since this is about the halfway point of GSOC I'll give a general overview: we have a working MongoDB backend, with many implemented features, and a set of changes to Django itself (that don't break anything else of course) that enable this.

http://groups.google.com/group/django-developers/browse_thread/thread/36ed23d7b32ff0fd?pli=1

So if you want to use MongoDB with the Django ORM you can switch to django-norel and use django-mongodb-engine or you can wait for Alex's work to be merged into the trunk.

Mark Lavin