Author: ubernostrum
Date: 2007-03-12 10:46:36 -0500 (Mon, 12 Mar 2007)
New Revision: 4713

Modified:
   django/branches/0.91-bugfixes/django/contrib/comments/feeds.py
Log:
0.91-bugfixes: Fix bad settings reference in comments feeds


Modified: django/branches/0.91-bugfixes/django/contrib/comments/feeds.py
===================================================================
--- django/branches/0.91-bugfixes/django/contrib/comments/feeds.py      
2007-03-12 14:01:44 UTC (rev 4712)
+++ django/branches/0.91-bugfixes/django/contrib/comments/feeds.py      
2007-03-12 15:46:36 UTC (rev 4713)
@@ -44,5 +44,5 @@
         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
\ No newline at end of file
+            kwargs['params'] = [settings.COMMENTS_BANNED_USERS_GROUP]
+        return kwargs


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to