Currently my settings.py
looks something like this
DATABASES = {
'default': {
'ENGINE': 'django_mongodb_engine',
'NAME': 'gb',
'USER': '',
'PASSWORD': '',
'HOST': 'localhost',
'PORT': '27017'
}
}
and I am using django version is 1.4. The problem is when I try python manage.py syncdb
it throws the following error
db = dbs[DEFAULT_DB_ALIAS]
KeyError: 'default'
Any help would be great. Thanks