title: How to show the show ValidationError in template
body: <p>I have build a view, a template and a form, which is used in order to upload a CSV file together with some other information.</p>
  
  <p>I have problems displaying the ValidationError, which I defined in my clean() function of the form:</p>
  
  <p>This is part of the form:</p>
  
  <pre><code>class UploadCSVForm(forms.Form):
  
     title = forms.CharField(max_length=255, help_text='Title', required=True)
  
     LAYER_TYPE = (
       ('1', 'Globa;'),
     )
     layer_type = forms.ChoiceField(choices=LAYER_TYPE, help_text='Type of layer', required=True)
  
     csv = forms.FileField(required=True)
  
     def clean(self):
  
       cleaned_data = super(UploadCSVForm, self).clean()
       csv_file = self.cleaned_data.get('csv')
       if not csv_file:
          raise forms.ValidationError(_("CSV must be a file."))
  
      return cleaned_data
  </code></pre>
  
  <p>And this is PART of my view:</p>
  
  <pre><code>def layer_create(request, template='layers/layer_create.html'):
  ....
  elif request.method == 'POST':
  
      form = UploadCSVForm(request.POST, request.FILES)
      out = {}
      if form.is_valid():
        try:
              title = form.cleaned_data["title"]
        except:
              ...
  return render_to_response(template, RequestContext(request, {'form': form}))
  </code></pre>
  
  <p>And this is how I render the form in the template:</p>
  
  <pre><code>&lt;form id="file-uploader" method="post" enctype="multipart/form-data" action="{% url "layer_create" %}"&gt;
        &lt;input type="hidden" name="csrfmiddlewaretoken" value="{{ csrf_token }}"&gt;
        {% for field in form.visible_fields %}
             {{ field.help_text }} &lt;br/&gt;
             {{ field }} &lt;br/&gt;
             {{ field.errors }}&lt;br/&gt;
        {% endfor %}
        &lt;button type="submit" id="upload-button" class="btn btn-danger"&gt;Upload&lt;/button&gt;
      &lt;/form&gt;
  </code></pre>
  
  <p>The issue is that <code>{{ field.errors }}</code> don't display my ValidationError.</p>