same problem here. Still 0 (zero) count is not increasing.
class PostDetail(HitCountDetailView): model = Post context_object_name = "post" template_name = "awesomeposts/post_detail.html" count_hit = True def get_object(self): username = self.kwargs.get("username") post = self.kwargs.get("post") return get_object_or_404( Post, user=User.objects.get(username=username), slug=post, )
do like this
I don't know why but it didn't worked for me. Still 0 (zero)
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
same problem here. Still 0 (zero) count is not increasing.
do like this
I don't know why but it didn't worked for me. Still 0 (zero)