문제

So far Django has good integration with several RDBMS. NoSQL, schema-less and document-oriented DBMS are picking up. What's the status of integration those on-trend and fashionable DBMSes with Django? Are there any production-ready or at least ready-to-use libraries for Django?

So far I have these at hand:

도움이 되었습니까?

해결책

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- 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.

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top