title: How to combine django "prefetch_related" and "values" methods?
body: <p><strong>How can <code>prefetch_related</code> and <code>values</code> method be applied in combination?</strong> </p>
  
  <p>Previously, I had the following code. Limiting fields in this query is required for performance optimization.</p>
  
  <pre class="lang-py prettyprint-override"><code>Organizations.objects.values('id','name').order_by('name')
  </code></pre>
  
  <p>Now, I need to prefetch its association and append it in the serializer using "prefetch_related" method.</p>
  
  <pre class="lang-py prettyprint-override"><code>Organizations.objects.prefetch_related('locations').order_by('name')
  </code></pre>
  
  <p>Here, I cannot seem to find a way to limit the fields after using "prefetch_related".</p>
  
  <p>I have tried the following, but on doing so serializer does not see the associated "locations".</p>
  
  <pre class="lang-py prettyprint-override"><code>Organizations.objects.prefetch_related('locations').values("id", "name").order_by('name')
  </code></pre>
  
  <p>Model Skeleton:</p>
  
  <pre class="lang-py prettyprint-override"><code>class Organizations(models.Model):
      name = models.CharField(max_length=40)
  
  class Location(models.Model):
      name = models.CharField(max_length=50)
      organization = models.ForeignKey(Organizations, to_field="name", db_column="organization_name", related_name='locations')
  
      class Meta:
          db_table = u'locations'
  </code></pre>