title: Django form missing fields
body: <p>I'm trying to get a simple form working. Oddly, other forms I wrote in this app are working fine, but this one wont show the fields. Can anyone tell me what I'm missing? Here are the files</p>
  
  <p><strong>views.py:</strong></p>
  
  <pre><code>def newnote(request, record_id):
  if request.method == 'POST':
      form = NoteForm(request.POST)
      if form.is_valid():
          form.save()
          return HttpResponseRedirect('/tracker/all/')
  else:
      form = NoteForm()
  return render(request, 'tracker/noteform.html', {'form': form})
  </code></pre>
  
  <p><strong>models.py</strong></p>
  
  <pre><code>class Note(models.Model):
  record = models.ForeignKey(Record, on_delete=models.CASCADE)
  note_text = models.CharField('Notes', max_length=2000)
  note_date = models.DateField('Date Entered')
  </code></pre>
  
  <p><strong>forms.py</strong></p>
  
  <pre><code>class NoteForm(forms.Form):
  class Meta:
      model = Note
      fields = ['note_text',
                'note_date'
               ]
  </code></pre>
  
  <p><strong>template (noteform.html)</strong></p>
  
  <pre><code>&lt;form action="/tracker/newnote/" method="post"&gt;  
  &lt;div id="fields"&gt;
  {% csrf_token %}
  {{ form }}
  &lt;input type="submit" value="Submit" /&gt;
  &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>One other note, I have commented out the div id called "fields", to rule out CSS as the issue.</p>