title: Populate a django form with data from database in view
body: <p>I have a form in my forms.py that looks like this:</p>
  
  <pre><code>from django import forms
  
  class ItemList(forms.Form):
       item_list = forms.ChoiceField()
  </code></pre>
  
  <p>I need to populate the item_list  with some data from the database. When generated in HTML item_list should be something like:</p>
  
  <pre><code>&lt;select title="ItemList"&gt;
     &lt;option value="1"&gt;Select Item 1&lt;/option&gt;
     &lt;option value="2"&gt;Select Item 2&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>The options values in my select statement will change almost every time since a variable in the query will often change generating new results.</p>
  
  <p>What do I need to put in the view.py and also in my template files to populate the ItemList with values from the database?  </p>