title: Is this a bug in PyCharm 4.0.5?
body: <p>I updated to PyCharm 4.0.5 yesterday and since then it has been marking some perfectly valid code as being an error. Basically the code is just iterating over a ManyToMany relationship. The code is shown below.</p>
  
  <pre><code>songs = []
  for album in order.album_products.all():
      album_songs = Song.objects.filter(album__exact=album.album_product.id)
      if not album_songs:
          for song in album_songs:
              songs.append(song)
  </code></pre>
  
  <p>The line that is showing the error is this one:</p>
  
  <pre><code>for album in order.album_products.all():
  </code></pre>
  
  <p>and the error that is shown is this one:</p>
  
  <pre><code>Call 'all' directly on 'many-to-many with intermediate'. method 'all' can't be used with many-to-many relations if intermediate model is used.
  </code></pre>
  
  <p>I'm stumped on this one. This code has worked fine in Django for as long as I can remember. I've been using Django since version 1.0 or 1.1 and have always iterated over ManyToMany relationships using this method. Also looking at Stackoverflow answers shows the same code used by many other people as well.</p>
  
  <p>Does anyone have any suggestions at all?</p>