django内置对MongoDB的支持 [英] django built-in support for MongoDB

查看:197
本文介绍了django内置对MongoDB的支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图找到,如果官方Django是要支持任何NOSQL数据库管理系统,尤其是MongoDB的任何信息。我发现一个 django的叉子1.3 django-nonrel (官方django的叉子)和其他一些不是很可靠的项目(经常发生故障,根据意见,我在网上找到)。 django是否正式支持noSQL?

I'm trying to find any information if official django is going to support any noSQL DBMS, especially MongoDB. I found a fork of django 1.3 the django-nonrel (a fork of official django) and some other not very reliable projects (failures occur often, according to comments I found on the web). Is django going to support noSQL officially at all?

推荐答案

也许, 其他方式 实现您的目标,除了去 noSQL

简而言之,如果您只需要动态字段,您可以使用其他选项。在另一个答案中,我有广泛的写作说明:

In short, if you just need dynamic fields, you have other options. I have an extensive writeup about them in another answer:

  • Entity–attribute–value model (Django-eav)
  • PostgreSQL hstore (Django-hstore)
  • Dynamic models based on migrations (Django-mutant)

是的,这不完全是你所问的对,但仅此而已,我们目前已经得到了。

Yes, that's not exactly what you've asked for, but that's all that we've currently got.

这篇关于django内置对MongoDB的支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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