Skip to content
Browse files

Fixed #1722 -- Fixed bug in CommentManager.user_is_moderator(). Thank…

…s, Jure Cuhalev

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 4f15f10 commit a0872543a7d1cbcb4576ef3d41ef413edf89e3c1 @adrianholovaty adrianholovaty committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/comments/
2 django/contrib/comments/
@@ -56,7 +56,7 @@ def get_list_with_karma(self, **kwargs):
def user_is_moderator(self, user):
if user.is_superuser:
return True
- for g in user.group_set.all():
+ for g in user.groups.all():
return True
return False

0 comments on commit a087254

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