
Autogenerated Queries
Writing query documents can get out of control. Djongo does the heavy lifting of creating query documents for you.
More
Database Abstraction
Switch between MongoDB and other SQL databases. Limit the impact to your Models and business logic.
More
Security
Directly saving raw
JSON
into the database is scary. Djongo secures and validates the
JSON
document before saving.

Container Integration
Managed DBs, Storage, Kubernetes, Compute and Virtual Private Cloud (VPC) Integration
More
Rapid Prototyping
Speed up development with schema free models. Enforce protection with evolution.
MoreQueries
self.db['entry'].aggregate(
[{
'$match': {
'author_id': {
'$ne': None,
'$exists': True
}
}
},
{
'$lookup': {
'from': 'author',
'localField': 'author_id',
'foreignField': 'id',
'as': 'author'
}
},
{
'$unwind': '$author'
},
{
'$lookup': {
'from': 'blog',
'localField': 'blog_id',
'foreignField': 'id',
'as': 'blog'
}
},
{
'$unwind': {
'path': '$blog',
'preserveNullAndEmptyArrays': True
}
},
{
'$addFields': {
'blog': {
'$ifNull': ['$blog', {
'id': None,
'title': None
}]
}
}
},
{
'$match': {
'author.name': {
'$eq': 'Paul'
}
}
},
{
'$project': {
'id': True,
'blog_id': True,
'author_id': True,
'content': True,
'blog.id': True,
'blog.title': True
}
}]
qs = Entry.objects.filter(author__name='Paul').select_related('blog')
Djongo generates complex, error free, aggregation queries automatically.
It takes the query on the top and automatically generates the pymongo query document as the output.
Djongo Commercial License
Deploy
Host closed source applications that use the Djongo package.
Modify
Modify the djongo source code without requiring to open source your modifications.
Sample LicenseRedistribute
Include and redistribute the djongo package without having to open source your own code.
The Djongo commercial license gives you the freedom to create Django apps with no restrictions.
Prototyping
Set enforce_schema to True in settings.py to enable schema checks at the database level.
Our flexible pricing and licensing terms are guaranteed to satisfy your organizational needs completely.