title: get() takes from 2 to 3 positional arguments but 4 were given. Why is this error occuring? What is the solution for this?
body: <p>I was working on a comment of a blog project. When I typed the code to handle the POST request in the views.py but was getting a error. This was the error 'get() takes from 2 to 3 positional arguments but 4 were given'.</p>
  
  <p>models.py</p>
  
  <pre class="lang-py prettyprint-override"><code>class commenttable(models.Model):
      comment_id = models.AutoField(primary_key=True, default=0)
      blog = models.TextField()
      comment_name = models.CharField(max_length=200)
      comment_email = models.EmailField()
      comment_Text = models.TextField()
      comment_date = models.DateField()
  
      def __str__(self):
          return self.comment_Text
  </code></pre>
  
  <p>views.py</p>
  
  <pre class="lang-py prettyprint-override"><code>from .models import commenttable
  
  ...
  
  def post_comment(request, blog_id):
      if request.method == 'POST':
          data = request.POST.get("name", "email", "comment")
         # blog = get_object_or_404(Blog_tables, pk=blog_id)
          p = commenttable(blog= data.name, comment_name=data.email, comment_email= data.email, comment_Text= data.comment, comment_data = timezone.now())
          p.save()
          return HttpResponseRedirect('/thanks/')
      else:
          return render(request, '/blogs/' + blog_id + '/comment', {'error_message': 'Error'})
  
  
  </code></pre>
  
  <p>This is the form :</p>
  
  <pre class="lang-py prettyprint-override"><code>&lt;form action="/blogs/{{blog_id}}/comment" method ="post"&gt;
              {% csrf_token %}
  
              &lt;input type="text" name="name" id="name" placeholder="Enter Your Name"/&gt;
              &lt;input type="text" name="email" id="email" placeholder="Enter Your Email"/&gt;
              &lt;input type="text" name="comments" id="comments" placeholder="Comments here"/&gt;
  
              &lt;input type="submit" value="Post"/&gt;
          &lt;/form&gt;
  </code></pre>
  
  <p>I want to get the data from POST request and save it to the database.
  But writing this code gives me error 'get() takes from 2 to 3 positional arguments but 4 were given'.</p>