Documentation fix explaining adding a dummy backend for django (#172)

This commit is contained in:
Ross Lawley 2013-04-16 20:26:23 +00:00
parent 6fe074fb13
commit d02de0798f

View File

@ -10,6 +10,16 @@ In your **settings.py** file, ignore the standard database settings (unless you
also plan to use the ORM in your project), and instead call
:func:`~mongoengine.connect` somewhere in the settings module.
.. note ::
If you are not using another Database backend make sure you add a dummy
backend, by adding the following to ``settings.py``::
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.dummy'
}
}
Authentication
==============
MongoEngine includes a Django authentication backend, which uses MongoDB. The