title: Django ORM values() and select_related() raise TypeError
body: <p>In my django project i have to do an ORM query like this:</p>
  
  <pre><code>ordered = t_threads.objects.values('thread_stag').filter(thread_status='DEAD',id_test__test_main__descr__contains= 'Hello').distinct().select_related().order_by('id')[1:10]
  </code></pre>
  
  <p>i need to group result for value 'thread_stag' filtered for status and test description, having all values from related tables, but when i execute the above query system return:</p>
  
  <blockquote>
    <p>raise TypeError("Cannot call select_related() after .values() or .values_lis
    t()")</p>
  </blockquote>
  
  <p>if i remove the "select_related()" option i don't have values from related tables.
  How can i achieve my result in django ORM?</p>
  
  <p>So many thanks in advance</p>