Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed bug in comment feed turned up by pyflakes.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3413 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 5c5ca53b703dd81b693ddf43c5f51590002dd78b 1 parent 17d0bd1
Jacob Kaplan-Moss jacobian authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/comments/feeds.py
2  django/contrib/comments/feeds.py
View
@@ -36,6 +36,6 @@ def items(self):
qs = qs.filter(is_removed=False)
if settings.COMMENTS_BANNED_USERS_GROUP:
where = ['user_id NOT IN (SELECT user_id FROM auth_users_group WHERE group_id = %s)']
- params = [COMMENTS_BANNED_USERS_GROUP]
+ params = [settings.COMMENTS_BANNED_USERS_GROUP]
qs = qs.extra(where=where, params=params)
return qs
Please sign in to comment.
Something went wrong with that request. Please try again.