Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit 32b733ccbd35bd48003621cb2c86ef442e44ad3f 1 parent d8b1717
@ubernostrum ubernostrum authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/comments/feeds.py
View
2  django/contrib/comments/feeds.py
@@ -43,6 +43,6 @@ def _get_lookup_kwargs(self):
kwargs = LatestFreeCommentsFeed._get_lookup_kwargs(self)
kwargs['is_removed__exact'] = False
if settings.COMMENTS_BANNED_USERS_GROUP:
- kwargs['where'] = ['user_id NOT IN (SELECT user_id FROM auth_users_group WHERE group_id = %s)']
+ kwargs['where'] = ['user_id NOT IN (SELECT user_id FROM auth_users_groups WHERE group_id = %s)']
kwargs['params'] = [settings.COMMENTS_BANNED_USERS_GROUP]
return kwargs
Please sign in to comment.
Something went wrong with that request. Please try again.