title: Django UpdateView forms
body: <p>I have a form class that looks like..</p>
  
  <pre><code>#forms.py
  
  class ExampleForm(forms.Form):
      color = forms.CharField(max_length=25)
      description = forms.CharField(widget=forms.Textarea, max_lenght=2500)
  </code></pre>
  
  <p>and my view looks like this..</p>
  
  <pre><code>#views.py
  
  
  
  class EditExample(UpdateView):
  model = Example
  fields = ['color', 'description']
  template_name = 'example.html'
  
  def get_success_url(self):
      pass
  </code></pre>
  
  <p>Template:</p>
  
  <pre><code>#example.html
  {% for field in form %}
      {% if field.errors %}
              &lt;div class="control-group error"&gt;
                  &lt;label class="control-label"&gt;{{ field.label }}&lt;/label&gt;
                  &lt;div class="controls"&gt;{{ field }}
                      &lt;span class="help-inline"&gt;
                          {% for error in  field.errors %}{{ error }}{% endfor %}
                      &lt;/span&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
              {% else %}
                  &lt;div class="control-group"&gt;
                  &lt;label class="control-label"&gt;{{ field.label }}&lt;/label&gt;
                  &lt;div class="controls"&gt;{{ field }}
                      {% if field.help_text %}
                          &lt;p class="help-inline"&gt;&lt;small&gt;{{ field.help_text }}&lt;/small&gt;&lt;/p&gt;
                      {% endif %}
                  &lt;/div&gt;
       {% endif %}
  {% endfor %}
  </code></pre>
  
  <p>When the template is rendered, all the fields show up and populate correctly but the 'description' doesn't show up in a Textarea but rather in a normal field. Im assuming this is because UpdateView works off of 'model = something' rather than 'form = something'.</p>
  
  <p>I have tried..</p>
  
  <pre><code>#views.py
  class EditExample(UpdateView):
      model = Example
      form_class = Exampleform
      template_name = 'example.html'
  
      def get_success_url(self):
          pass
  </code></pre>
  
  <p>but I get a Django error saying "<strong>init</strong>() got an unexpected keyword argument 'instance'.</p>
  
  <p>Is there any way to successfully get the Description to render in a Textarea using Updateview? If not, how would I accomplish this?</p>
  
  <p>Thanks!</p>