title: How to use Post_save in Django
body: <p>I am trying to add points to a User's profile after they submit a comment- using the Django comment framework. I think I need to use a post_save but am not sure to be perfectly honest.</p>
  
  <p>Here is what I have as a method in my models.py:</p>
  
  <pre><code> def add_points(request, Comment):
      if Comment.post_save():
          request.user.get_profile().points += 2
          request.user.get_profile().save()
  </code></pre>
  
  <p>From the examples of post_save I've found, this is far from what is shown - so I think I am way off the mark. </p>
  
  <p>Thank you for your help.</p>