title: Django choicefield using pictures instead of text not displaying
body: <p>I'm trying to do something which should be straightforward, but I cannot have it work properly.</p>
  
  <p>I would like to display images in a grid, with let's say 4-6 images per column and be able to select one and then hit a submit button.</p>
  
  <p>My model looks like:</p>
  
  <pre><code>class MyPicture(models.Model):
      name = models.CharField(max_length=60,
                              blank=False,
                              unique=True)
      logo = models.ImageField(upload_to='logos')
  
      def __str__(self):
          return self.name
  </code></pre>
  
  <p>My form looks like:</p>
  
  <pre><code>class MyPictureForm(forms.Form):
  
      def __init__(self, data, *args, **kwargs):
          super(MyPictureForm, self).__init__(data, *args, **kwargs)
          self.fields['pictures'] = forms.ModelChoiceField(queryset=MyPicture.objects.all())
  </code></pre>
  
  <p>My view looks like:</p>
  
  <pre><code>def mypicture(request):
      form = MyPictureForm(request.POST or None)
  
      if form.is_valid():
          #TODO
  
      return render(request, 'myproj/picture.html', {'form': form})
  </code></pre>
  
  <p>and finally, my hmtl (where I assume the issue lies):</p>
  
  <pre><code>&lt;form action="{% url 'mypicture' %}" method="post"&gt;
  
      {% csrf_token %}
      {% for s in form.pictures %}
          &lt;option value="{{ s.id }}"&gt;&lt;img src="{{ MEDIA_URL }}{{ s.logo.url }}"/&gt;&lt;/option&gt;      
      {% endfor %}
  
  
      &lt;input type="submit" value="Submit" class="btn btn-primary"/&gt;
  
  &lt;/form&gt;
  </code></pre>
  
  <p>The pictures just don't show up. When I put a breakpoint, in the form I was able to double check that the adresses of the pictures were properly selected.</p>
  
  <p>I'm convinced the error is in the html, but I could not figure out where despite my many attempts.</p>
  
  <p>Maybe with a fresh eye, you'll spot it in seconds... hope so! :)</p>
  
  <p>Best:</p>
  
  <p>Eric</p>