title: Printing POST Request Value in Django
body: <p>I'm beginning to learn web development with Django and I've run into a problem, I have a form :</p>
  
  <pre><code>from django import forms
  from .models import film
  
  class searchFilm(forms.Form):
      FilmName = forms.Field()
  </code></pre>
  
  <p>and in my views file I try to print the search term:</p>
  
  <pre><code>print request.POST["FilmName"]
  </code></pre>
  
  <p>but I get the error:</p>
  
  <pre><code>raise MultiValueDictKeyError(repr(key))
  MultiValueDictKeyError: "'FilmName'"
  </code></pre>
  
  <p>if I just print the whole thing I get the output:</p>
  
  <pre><code>&lt;QueryDict: {u'csrfmiddlewaretoken': [u'************'], u'FilmName': [u'hellowe']}&gt;
  </code></pre>
  
  <p>And I'm not sure why, how do I just print the search term?</p>