billyJoe
billyJoe

Reputation: 2064

Work with mongoDB and Django

i'm asking a question. When working with mongoDB, can we return a django response with a document(get with find_one()) and work with or do i have to parse the document to build json and return it ?

Upvotes: 1

Views: 175

Answers (1)

alecxe
alecxe

Reputation: 474151

You have several options here. If you want to have an abstraction layer (ORM), you should consider using:

Alternatively, if you want be "closer to metal", you can just use pymongo (python mongodb driver) directly. But, I bet you will quickly find yourself reinventing wheels.

Also see similar questions:

Hope that helps.

Upvotes: 1

Related Questions