Commits

Anonymous committed b10c38d

0.91-bugfixes: Fix bad settings reference in comments feeds

  • Participants
  • Parent commits 3d15dcd
  • Branches 0.91-bugfixes

Comments (0)

Files changed (1)

File django/contrib/comments/feeds.py

         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