From d02de0798f8ee0b04bbb33e2ca0c71651f32af09 Mon Sep 17 00:00:00 2001 From: Ross Lawley Date: Tue, 16 Apr 2013 20:26:23 +0000 Subject: [PATCH] Documentation fix explaining adding a dummy backend for django (#172) --- docs/django.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/django.rst b/docs/django.rst index 144baab5..58597469 100644 --- a/docs/django.rst +++ b/docs/django.rst @@ -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