umutbozkurt / django-rest-framework-mongoengine

Mongoengine support for Django Rest Framework
MIT License
616 stars 167 forks source link

ettings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details. #266

Closed Alireza-Ahmady closed 4 years ago

uoxiu commented 5 years ago

Hello, you can set:

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': ':memory:',
    }
}
uoxiu commented 4 years ago

A good alternative:

DATABASES = {
    'default': {
        'ENGINE': '',
    },
}

source: https://staltz.com/djangoconfi-mongoengine/#/14