title: Django forms, specifying Model
body: <p>I have the following form:</p>
  
  <pre><code>class NotesForm(forms.Form):
      text = forms.CharField(widget = forms.Textarea) 
  </code></pre>
  
  <p>With the following views.py:</p>
  
  <pre><code>if request.POST:
          form = ThisForm(request.POST)
          if form.is_valid():
              newentry = form.save()
              HttpResponseRedirect('/')
  </code></pre>
  
  <p>And the folowing models.py</p>
  
  <pre><code>class TheModel(models.Model):
      text = models.TextField()
  </code></pre>
  
  <p>The thing is that it gives me <code>'ThisForm' object has no attribute 'save'</code> which it is most likely because I have not linked any model to it.</p>
  
  <p>How can I link a model to the form in order to be able to <code>form.save()</code> to the database?</p>