title: How to check if a django form is saved in db
body: <p>I made a simple <code>ModelForm</code> in <code>Django</code> <code>1.7</code></p>
  <p><strong>models.py</strong></p>
  <pre><code>from django.db import models
  from django.forms import ModelForm
  
  class Biodata(models.Model):
      first_name = models.CharField(max_length=30)
      last_name = models.CharField(max_length=30)
      room_number = models.IntegerField(default=0)
      
      def __str__(self):
          return self.first_name
  
  class BiodataForm(ModelForm):
      class Meta:
          model = Biodata
          fields = '__all__'
  </code></pre>
  <p><strong>views.py</strong></p>
  <pre><code>def getdata(request):
      if request.method == 'POST':
          form = BiodataForm(request.POST)
          if form.is_valid():
              post = request.POST
              firstname = post['first_name']
              lastname = post['last_name']
              newbiodata = form.save()
              return render(request, 'bio/index.html', {'first_name': firstname, 'last_name': lastname})
      else:
          form = BiodataForm()
      return render(request, 'bio/biodataform.html', {'form': form})
  </code></pre>
  <p>all things are working fine</p>
  <p><strong>Question :</strong></p>
  <p>How can I see my database and info saved in it using these forms ?</p>