title: How do I grab the first objects from a Django queryset?
body: <pre><code>execution_list = JobExecution.objects.filter(job__name=job_name).order_by('-build_id')[:50]
  last = execution_list.pop(1)
  print last.id
  </code></pre>
  
  <p>I've also tried execution_list[0], which throws another queryset error.</p>
  
  <p>How do I i just grab the first object from the queryset?  I am aware that I can just append .last() to the query, but the problem is I need the full list as well as the first item.  What am I doing wrong here?</p>
  
  <pre><code>Error: 'QuerySet' object has no attribute 'pop'
  </code></pre>