title: how to insert data into table using django
body: <p>I am new in django, and I am creating table in postgresql. I want to perform insert, update and delete operation using django. I want creating followng code.</p>
  
  <p>Models.py</p>
  
  <pre><code>class Publisher(models.Model):
  
     name = models.CharField(max_length=30)
     address = models.CharField(max_length=50)
  
  
  
  def __str__(self):
  
      return ' '.join([
  
          self.name,
          self.address,
  
  
      ])
  </code></pre>
  
  <p>viwes.py</p>
  
  <pre><code> def pramod(request):
       if 'pname' in request.GET and request.GET['pname']:
           p1 = request.GET['pname']
       if 'address' in request.GET and request.GET['address']:
          p2 = request.GET['address']
       books = Publisher(name=p1,address=p2)
  
   return render(request, 'Publisher.html',{'books': books})
  </code></pre>