title: How do I make a list for a drop down menu in django?
body: <p>The title may be a bit obscure. I am trying to produce a drop-down menu in django based on the following code:</p>
  
  <pre><code>class MyForm(forms.Form):
     person_list = PersonYear.objects.all().values('person__pk', 'person__TLA')
     person = forms.CharField(label='Säljare',widget = 
              forms.Select(choices=person_list))
  </code></pre>
  
  <p>I was trying this, because my understanding is that I need a list of the form</p>
  
  <pre><code>person_list = [(1 , 'Abc'), (2, 'CDe'),...]
  </code></pre>
  
  <p>but my person_list has the form</p>
  
  <pre><code>&lt;QuerySet [{'person_pk : '1', 'person_TLA : 'Abc'}, {'person_pk : '2', 
  'person_TLA : 'CDe'}].......&gt;
  </code></pre>
  
  <p>So it does not work. How should I be doing this. I want to get a drop-down menu with the TLA:s from which I then can identify the pk. </p>