0

I am using djongo as default engine. I want to get the MongoDB connection object just like we get mysql object from

from django.db import connection

How can we do that in Django so that i can perform raw queries of MongoDB?

I know we can do this with pymongo but i will be good if i can do that with django itself.

Deepak Chauhan
  • 782
  • 7
  • 10

0 Answers0