title: ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured
body: <p>I'm trying to make MongoDB and Django get on with each other the way I want them to.
  That's the error I'm getting when trying to import viewsets from rest_framework_mongoengine.</p>
  
  <p>The whole error looks like this:</p>
  
  <p><code>
  ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
  </code></p>
  
  <p>It doesn't find <code>settings.py</code> or what? If so I can't figure out why! Namely, say, why did this problem not appear with other modules then?</p>
  
  <p>Here are my <code>INSTALLED APPS</code></p>
  
  <pre><code>INSTALLED_APPS = [
      'rest_framework',
      'rest_framework_mongoengine',
      'mongoengine.django.mongo_auth',
      'rest_framework.authtoken',
      'corsheaders',
      'django.contrib.admin',
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.messages',
      'django.contrib.staticfiles',
      'django_extensions',
      'core',
      'core.essences.user',
      'core.essences.user.authentication',
      'core.essences.test_result',
  ]
  </code></pre>