MongoDb is my Database. I want to access it through Django. This iss settings. py file.
DATABASES ={
'default':{
'ENGINE': 'django.db.backends.dummy',
'NAME': 'hockey',
'USER': 'sud',
'PASSWORD': 'iiita',
'HOST': '127.0.0.1',
'PORT': '27017',
'SUPPORTS_TRANSACTIONS':False,
}
}
For ORM should i use mongoengine, django's non-rel or Django's own ORM? Do i need to install Django non-rel as i am installing mongo engine i guess it will be sufficient or not?
Use mongo engine 0.9 and follow the tutorial there. You are using djangodb-mongo engine. This uses forked version of django and is completely out of date.