title: How to configure settings.py in Django for MongoDB?
body: <p>I have already completed a Django server installation and now I want to connect it to a MongoDB database. For that I changed my <code>settings.py</code> file of my project like this:</p>
  
  <pre><code>DATABASES = {
      'default': {
          'ENGINE': 'django_mongodb_engine', 
          'NAME': 'db_name',                   
          'USER': '',
          'PASSWORD': '',
          'HOST': '',                      
          'PORT': '',                      
      }
  }
  </code></pre>
  
  <p>Now when I run in command prompt:</p>
  
  <pre><code>python manage.py runserver
  </code></pre>
  
  <p>it shows an error:</p>
  
  <pre><code>no module named django_mongodb_engine.base
  </code></pre>
  
  <p>How can I resolve this error?</p>