title: PyCharm Not Properly Recognizing Requirements - Python, Django
body: <p>Often requirements show up in <code>requirements.txt</code> like this:</p>
  
  <p><code>django-registration</code></p>
  
  <p>But in <code>INSTALLED_APPS</code> it appears as <code>registration</code>. So when you import like:</p>
  
  <pre><code>from registration.signals import user_registered
  </code></pre>
  
  <p>This is valid but PyCharm is showing a red squiggly line under the word <strong>registration</strong> in <code>from registration...</code> that says "Package 'registration' is not listed in project requirements".</p>
  
  <p>How can I remedy this?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I was able to find a way to make the warning go away but it's not a good solution. If you simply add the package name to the <code>requirements.txt</code> file the warning goes away, but then that requirement is not valid if you were to install with <code>pip</code>. For example, I'm also using <code>pygooglevoice</code> which is how it's written in <code>requirements.txt</code> but when it's imported in the code, you write:</p>
  
  <pre><code>from googlevoice import Voice
  </code></pre>
  
  <p>This seems weird because I use PyCharm for many projects and I'm just noticing this with a recent project I'm working on...</p>