Setting up Django-nonrel with Mongodb -


i trying develop web app using: - mongodb database - django web framework

i encountering few problems makes me doubt quality of approach setup is: - mongodb installed , working - django-nonrel, djangotoolbox , djangomongodbengine installed in virtualenv python 3.4 - os windows 7 enterprise - using pycharm editor - settings in settings.py are

databases = {     'default': {         'engine': 'django_mongodb_engine',         'name': 'jungle1',         'host': '127.0.0.1',         'port': 27017     } } 

unfortunately when run through tutorial @ http://django-mongodb-engine.readthedocs.org/en/latest/tutorial.html improperlyconfigured exception, having difficulty solving.

has had experience similar setup?

is there glaring mistake or omission spot?

is sound approach @ all? - instance more productive try , use mongoengine instead? or use bottle.py pymongo?

thanks lot help

marc

i guess if clear value of engine should work this:

databases = {     'default': { #        'engine': 'django.db.backends.sqlite3', #        'name': os.path.join(base_dir, 'db.sqlite3'),         'engine': '',         'name': 'mydb',         'user': '',         'password': '',         'host': 'localhost',         'port': 27017,     } } 

Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -