title: how to import urls.py which is below django project forder
body: <p>I created a django project named <code>test_pro</code> with app01 in it. All settings is default  .  I wrote "from test_pro import urls". I get an error</p>
  
  <blockquote>
    <p>"django.core.exceptions.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."</p>
  </blockquote>
  
  <p>I don't know what mean it is, the question is when I write "from <code>test_pro</code> import settings" run success. </p>
  
  <p>How do I solve the problem?</p>
  
  <ul>
  <li>django version=2.2  </li>
  <li>python interpreter version=3.7.3</li>
  </ul>
  
  <p>This is my forder construction:</p>
  
  <pre><code>testpro
      -app01
          -migrations
          -__init__.py
          -admin.py
          -apps.py
          -models.py
          -test.py
          -views.py
          templates
      -test_pro
          -__init__.py
          -settings.py
          -urls.py
          -wsgi.py
      -manage.py
  </code></pre>