In my new Django project I set up a MongoDb database and use mongoengine module but I can\'t properly access to dabase nore in shell no in views. \"ConnectionError: You have
In your settings.py file replace:
mongoengine.connect(_MONGODB_NAME, 'localhost:27017')
with the below code (notice the added 'host='):
mongoengine.connect(_MONGODB_NAME, host='localhost:27017')