Skip to content

Commit 32b733c

Browse files
committed
0.91-bugfixes: Table name needs to be pluralized in that query
git-svn-id: http://code.djangoproject.com/svn/django/branches/0.91-bugfixes@4714 bcc190cf-cafb-0310-a4f2-bffc1f526a37
1 parent d8b1717 commit 32b733c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django/contrib/comments/feeds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ def _get_lookup_kwargs(self):
4343
kwargs = LatestFreeCommentsFeed._get_lookup_kwargs(self)
4444
kwargs['is_removed__exact'] = False
4545
if settings.COMMENTS_BANNED_USERS_GROUP:
46-
kwargs['where'] = ['user_id NOT IN (SELECT user_id FROM auth_users_group WHERE group_id = %s)']
46+
kwargs['where'] = ['user_id NOT IN (SELECT user_id FROM auth_users_groups WHERE group_id = %s)']
4747
kwargs['params'] = [settings.COMMENTS_BANNED_USERS_GROUP]
4848
return kwargs

0 commit comments

Comments
 (0)