code: def comment_target(object):
      
      return reverse("pinax_comments:post_comment", kwargs={
          "content_type_id": ContentType.objects.get_for_model(object).pk,
          "object_id": object.pk
      })
docs: Usage:
          {% comment_target obj [as varname] %}