Skip to content
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...
1 parent 18cf400 commit d8b1717266acf316b42075b2ce023348dc3de151 @ubernostrum ubernostrum committed Mar 12, 2007
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/contrib/comments/feeds.py
View
4 django/contrib/comments/feeds.py
@@ -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

0 comments on commit d8b1717

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