title: Unresolved Imports in VS Code Django Project
body: <p>I want to open a folder at the level above a Django project directory (<code>project_parent</code> below) in VS Code and have the linter correctly resolve the Django project imports:</p>
  
  <pre><code>| project_parent
  | -- | django_project_dir
  | -- | -- | manage.py
  </code></pre>
  
  <p>If I do this, the linter is confused and I get a bunch of warnings on imports from the Django modules in the project:</p>
  
  <pre><code>unresolved import 'module.models' Python(unresolved-import)
  </code></pre>
  
  <p>If I open VS Code at the the Django project folder level, the linter resolves all of the imports.  This isn't ideal though because I have to close and re-open VS Code at the level above to see other related code (Ansible, bash scripts, etc.)</p>
  
  <p>My question is how to update VS Code settings to add the Django project directory to the linter path?</p>
  
  <pre><code>Env:
  
  VS Code: 1.40.1
  Python: 3.7.2
  Django: 2.2.1
  </code></pre>
  
  <p>Related question: <a href="https://stackoverflow.com/questions/53939751/pylint-unresolved-import-error-in-visual-studio-code/58050689#58050689">Pylint &quot;unresolved import&quot; error in visual studio code</a></p>
  
  <ul>
  <li>the solution here is just to open the project at the level of the Django project dir which I don't want to do.</li>
  <li>my issue is not related to "python.pythonPath" setting, the python path is fine and all of the package level imports are resolved by the linter.</li>
  </ul>