All Projects → nesdis → Djongo

nesdis / Djongo

Licence: agpl-3.0
Django and MongoDB database connector

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Djongo

Db
Data access layer for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features.
Stars: ✭ 2,832 (+131.75%)
Mutual labels:  sql, mongodb, nosql
Android Nosql
Lightweight, simple structured NoSQL database for Android
Stars: ✭ 284 (-76.76%)
Mutual labels:  sql, mongodb, nosql
Dotnetguide
🦸【C#/.NET/.NET Core学习、工作、面试指南】概述:C#/.NET/.NET Core基础知识,学习资料、文章、书籍,社区组织,工具和常见的面试题总结。以及面试时需要注意的事项和优秀简历编写技巧,希望能和大家一起成长进步👊。【让现在的自己不再迷漫✨】
Stars: ✭ 308 (-74.8%)
Mutual labels:  sql, mongodb, nosql
Typeorm
TypeORM module for Nest framework (node.js) 🍇
Stars: ✭ 807 (-33.96%)
Mutual labels:  sql, nosql
Nano Sql
Universal database layer for the client, server & mobile devices. It's like Lego for databases.
Stars: ✭ 717 (-41.33%)
Mutual labels:  sql, nosql
Migrate
Database migrations. CLI and Golang library.
Stars: ✭ 7,712 (+531.1%)
Mutual labels:  sql, mongodb
Django Rest Framework Mongoengine
Mongoengine support for Django Rest Framework
Stars: ✭ 544 (-55.48%)
Mutual labels:  mongodb, django
Ihealth site
iHealth 项目的后台程序(一个基于 Django 和 MongoDB 的 Web 后端)
Stars: ✭ 29 (-97.63%)
Mutual labels:  mongodb, django
Mondocks
An alternative way to interact with MongoDB databases from F# that allows you to use mongo-idiomatic constructs
Stars: ✭ 20 (-98.36%)
Mutual labels:  mongodb, nosql
Be Course 17 18
🎓 Backend · 2017-2018 · Curriculum and Syllabus 💾
Stars: ✭ 44 (-96.4%)
Mutual labels:  sql, nosql
Client
PHP client for Tarantool.
Stars: ✭ 52 (-95.74%)
Mutual labels:  sql, nosql
Sequelize
An easy-to-use and promise-based multi SQL dialects ORM tool for Node.js
Stars: ✭ 25,422 (+1980.36%)
Mutual labels:  sql, nosql
Restheart
RESTHeart - The REST API for MongoDB
Stars: ✭ 659 (-46.07%)
Mutual labels:  mongodb, nosql
Mongo Cxx Driver
C++ Driver for MongoDB
Stars: ✭ 792 (-35.19%)
Mutual labels:  mongodb, nosql
Python Spider
豆瓣电影top250、斗鱼爬取json数据以及爬取美女图片、淘宝、有缘、CrawlSpider爬取红娘网相亲人的部分基本信息以及红娘网分布式爬取和存储redis、爬虫小demo、Selenium、爬取多点、django开发接口、爬取有缘网信息、模拟知乎登录、模拟github登录、模拟图虫网登录、爬取多点商城整站数据、爬取微信公众号历史文章、爬取微信群或者微信好友分享的文章、itchat监听指定微信公众号分享的文章
Stars: ✭ 615 (-49.67%)
Mutual labels:  mongodb, django
Jetbrains Webcast Build With Mongodb
Code and handouts for my JetBrains webcast recorded January 30, 2018
Stars: ✭ 25 (-97.95%)
Mutual labels:  mongodb, nosql
Sql Boot
Advanced REST-wrapper for your SQL-queries (actually not only SQL)
Stars: ✭ 51 (-95.83%)
Mutual labels:  sql, nosql
Fluent
Vapor ORM (queries, models, and relations) for NoSQL and SQL databases
Stars: ✭ 1,071 (-12.36%)
Mutual labels:  sql, nosql
Rest Hapi
🚀 A RESTful API generator for Node.js
Stars: ✭ 1,102 (-9.82%)
Mutual labels:  mongodb, nosql
Django Dbbackup
Management commands to help backup and restore your project database and media files
Stars: ✭ 471 (-61.46%)
Mutual labels:  mongodb, django

djongo

Build Status License: AGPL v3 PyPI version

The only connector that let's you use Django with MongoDB without changing the Django ORM

Use MongoDB as a backend database for your Django project, without changing the Django ORM. Use the Django Admin GUI to add and modify documents in MongoDB.

Usage:

  1. Install djongo:
    pip install djongo
    
  2. Into settings.py file of your project, add:
    DATABASES = {
        'default': {
            'ENGINE': 'djongo',
            'NAME': 'your-db-name',
            'CLIENT': {
               'host': 'your-db-host',
            }
        }
    }
    
  3. Run manage.py makemigrations &ltapp_name&gt followed by manage.py migrate (ONLY the first time to create collections in mongoDB)
  4. YOUR ARE SET! HAVE FUN!

Requirements:

  1. Python 3.6 or higher.

  2. MongoDB 3.4 or higher.

  3. If your models use nested queries or sub querysets like:

    inner_qs = Blog.objects.filter(name__contains='Ch').values('name')
    entries = Entry.objects.filter(blog__name__in=inner_qs)
    

    MongoDB 3.6 or higher is required.

Dear Supporter

I am inundated daily with your love, appreciation, queries and feature requests for Djongo. Djongo has grown into more than a simple hobby project of an individual developer. Visit my Patreon page to understand the different levels of support and services you can get.

How it works

djongo is a SQL to mongodb query compiler. It translates a SQL query string into a mongoDB query document. As a result, all Django features, models etc work as is.

Django contrib modules:

  
'django.contrib.admin',
'django.contrib.auth',    
'django.contrib.sessions',

and others... fully supported.

Features

  • Use Django Admin GUI to access MongoDB.
  • Embedded Model.
  • Embedded Array.
  • Embedded Form Fields.

Read the full documentation

Contribute

If you think djongo is useful, please share it with the world! Your endorsements and online reviews will help get more support for this project.

Take a look at the Enhancements project that contains a list of features that must be implemented in future versions of Djongo. You can contribute to the source code or the documentation by creating a simple pull request! You may want to refer to the design documentation to get an idea on how Django MongoDB connector is implemented.

Add a star, show some love :)

Questions and Discussion

  • Djongo groups is where you can watch for new release announcements, suggest improvements, and discuss topics pertaining to Django and MongoDB.
  • Issues, where things are not working as expected, please raise a git-hub issue ticket.
  • For questions and clarifications regarding usage, please put it up on stackoverflow instead.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].