带有 NoSQL 数据库的 Django [英] Django with NoSQL database

查看:33
本文介绍了带有 NoSQL 数据库的 Django的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用一个使用 Django 1.8 版本Django 应用程序.

I am working with an Django application which uses Django 1.8 version.

我们处理的大部分数据都是 JSON 格式的.我们正在尝试实施任何 NoSQL 数据库.

Most of the data we deal with is JSON formatted ones. We are trying to implement any NoSQL database.

但我发现 MONGODB 不兼容 1.8 及更高版本,是否有任何 NoSQL 数据库可以有效映射到 Django 1.8 或更高版本??

But I see that MONGODB is not compatible for version 1.8 and over and Is there any NoSQL database that can be efficiently mapped to Django 1.8 or over ??

提前致谢.

推荐答案

这是一个有趣的 repo,允许使用 MongoDB 作为 django 后端.它的工作原理是将 SQL 命令编译成 MongoDB 文档查询.

Here is an interesting repo for allowing using MongoDB as your django backend. It works by compiling SQL commands into MongoDB document queries.

大多数基本的东西,比如 django admin、django session 等都可以工作.

Most of the basic stuff like django admin, django session etc all work.

https://github.com/nesdis/djongo

这篇关于带有 NoSQL 数据库的 Django的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆