title: how to loop through django queryset data and set the values in an array not a dictionnary
body: <p>I Have to loop through data of the query set in django and put the data into an array without specifying the model name.</p>
  
  <p>My Django view:</p>
  
  <pre><code> permissions = Permission.objects.all().order_by('perm_label')
   arrayData = []
   for type in permissions:
        for value in type:
           arrayData.append(value)
  </code></pre>
  
  <p>This is giving me error:</p>
  
  <pre><code>Permission' object is not iterable
  </code></pre>