Pre 1.0, django ORM underwent a major queryset re-factor. One of the reasons for this was "This re-factor enables us to support non relational backends".
The official support I think is definitely on the cards; but I think there were more pressing matters for 1.1 and 1.2(now in beta).
However, there are of course several independent efforts to use non relational databases with django, including, but not limited to the following:
Django-nonrel by Waldemar, who made django work on the appengine using the appengine patch.
Until there is official Django support of a MongoDB back-end, for auto-admin, etc. (wouldn't that be so great). I would take a look at mongokit, which is a thin wrapper over pymongo. There's a few alternatives, but mongokit has comprehensive documentation and is under active development.
发布评论
评论(3)
在 1.0 之前,django ORM 经历了一次重大的查询集重构。原因之一是“这种重构使我们能够支持非关系后端”。
我认为官方支持肯定是有可能的;但我认为 1.1 和 1.2(现在处于测试版)还有更紧迫的事情。
但是,当然有一些独立的努力可以在 django 中使用非关系数据库,包括但不限于以下内容:
Pre 1.0, django ORM underwent a major queryset re-factor. One of the reasons for this was "This re-factor enables us to support non relational backends".
The official support I think is definitely on the cards; but I think there were more pressing matters for 1.1 and 1.2(now in beta).
However, there are of course several independent efforts to use non relational databases with django, including, but not limited to the following:
Neo4j - Java 图形数据库(位于 NoSQL 频谱的另一端)- 也有 初始支持。
编辑:
我花了相当长的时间来充实这种支持并转向远程协议。您可以在 GitHub 上查看结果。
Neo4j- the Java graph database (on the other end of the NoSQL spectrum)- also has initial support.
EDIT:
I've spent quite a while fleshing this support out and moving to a remote protocol. You can see the results on GitHub.
直到 Django 官方支持 MongoDB 后端、自动管理等(那不是很好吗)。我会看一下 mongokit,它是 pymongo 的一个薄包装。有一些替代方案,但 mongokit 拥有全面的文档并且正在积极开发中。
Until there is official Django support of a MongoDB back-end, for auto-admin, etc. (wouldn't that be so great). I would take a look at mongokit, which is a thin wrapper over pymongo. There's a few alternatives, but mongokit has comprehensive documentation and is under active development.