Versions
Description
MoMa-Django is a Mongo Manager for Django. It provides native Django ORM support for Mongo DB. MoMa-Django provides a framework to bridge between a SQL DB and the NonSQL MongoDB using a simple and powerful framework allowing an application to have models both on SQL database and on Mongo, and a quick experimentation / migration path from SQL only to a mixed model. Created and maintained by Gadi Oren, as a part of the Lucidel and Cloudoscope products. Features - Adoption: changing a model to reside on MongoDB is as simple as changing the inheritance from django.db.models.Model to MongoModel! - Model features: large subset of the model capabilities is supported (e.g. unique together) - Enhanced model: Mongo models can include lists and dictionaries as a field - Django administration: most of the administration functions are supported for Mongo based models - Testing: support the creation of an alternative mongodb collection for unit tests - Relationships between models on SQL db and Mongo: limited support. ForeignKeys can be defined but transactions or cascading delete is not supported - Django query: support for queries (e.g. date__gte notation) as well as Q statements. Not supported yet: annotations and aggregations - Enhanced Django query: queries can include "drill into" objects. E.g. for a record entry = {a:3, b:{k1:4, k2:3,km:'a'}} you can query: qs = Entry.objects.filter(a__gte=2,b__km__regexp='^a$') ) (note the b__km__regexp "drill into") - South: applications can contain regular and mongo models. However, in order to use south, the mongo models should be excluded of the south management (see documentation on how to exclude mongo models)
Repository
https://github.com/gadio/moma-django.git
Project Slug
moma-django-a-mongo-manager-for-django
Last Built
6 years, 8 months ago failed
Maintainers
Home Page
Badge
Tags
Short URLs
moma-django-a-mongo-manager-for-django.readthedocs.io
moma-django-a-mongo-manager-for-django.rtfd.io
Default Version
latest
'latest' Version
master