Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

0.91-bugfixes: Fix bad settings reference in comments feeds

git-svn-id: http://code.djangoproject.com/svn/django/branches/0.91-bugfixes@4713 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit d8b1717266acf316b42075b2ce023348dc3de151 1 parent 18cf400
James Bennett ubernostrum authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/contrib/comments/feeds.py
4 django/contrib/comments/feeds.py
View
@@ -44,5 +44,5 @@ def _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['params'] = [COMMENTS_BANNED_USERS_GROUP]
- return kwargs
+ kwargs['params'] = [settings.COMMENTS_BANNED_USERS_GROUP]
+ return kwargs
Please sign in to comment.
Something went wrong with that request. Please try again.