Hi,
Looking at the model, you can see that:
class KarmaScore(models.Model):
user = models.ForeignKey(User)
comment = models.ForeignKey(Comment)
[...]
So I would think that, if there's a comment of a given user, you can
know if he voted or not by doing a template tag that takes a comm
I know it seems like there's been a lot of these lately, but it IS one
of the few undocumented parts of Django. So here's my question...
anyone have any idea how I could check if the current user has already
voted on a comment?
To clarify: I know I can get karma total, good karma total, etc., and
2 matches
Mail list logo