Skip to content
Browse files

Fixed #3473 -- Corrected access to get in manager (probably introduce…

…d as part of magic-removal conversion).

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent df119b7 commit 7be1f44053e3b099637cee625852f273bf8cad21 @freakboy3742 freakboy3742 committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/comments/
2 django/contrib/comments/
@@ -209,7 +209,7 @@ def get_content_object(self):
class KarmaScoreManager(models.Manager):
def vote(self, user_id, comment_id, score):
- karma = self.objects.get(comment__pk=comment_id, user__pk=user_id)
+ karma = self.get(comment__pk=comment_id, user__pk=user_id)
except self.model.DoesNotExist:
karma = self.model(None, user_id=user_id, comment_id=comment_id, score=score,

0 comments on commit 7be1f44

Please sign in to comment.
Something went wrong with that request. Please try again.