title: Create key, value pairs based on the querydata
body: <p>python query to the DB as </p>
  
  <pre><code>m = Request.objects.filter(type__contains='mega')
  </code></pre>
  
  <p>and a queryset based on m as </p>
  
  <pre><code>x = m.values('set', 'value')
  </code></pre>
  
  <p>It returns values like </p>
  
  <pre><code>[{'value': u'sasi', 'set': u'ITEM1'}, {'value': u'babu', 'set': u'ITEM1'},{'value': u'unni', 'set': u'ITEM2'},...]
  </code></pre>
  
  <p>I am planning to create a dictionary based on the data. SO it will be like </p>
  
  <pre><code>{'ITEM1': [sasi, babu], 'ITEM2':[unni], 'ITEM3': [x, y, z] , ....}
  </code></pre>
  
  <p>How can I convert the above queryset into this dictionary format? Any idea guys? Thanks in advance. </p>