Author: russellm
Date: 2009-10-08 08:32:23 -0500 (Thu, 08 Oct 2009)
New Revision: 11602

Modified:
   django/branches/releases/1.1.X/django/contrib/comments/admin.py
Log:
[1.1.X] Fixed #11995 -- Modified the admin site definition for comments so that 
users are shown as a raw id list. Thanks to James Bennett for the report and 
patch.

Backport of r11601 from trunk.

Modified: django/branches/releases/1.1.X/django/contrib/comments/admin.py
===================================================================
--- django/branches/releases/1.1.X/django/contrib/comments/admin.py     
2009-10-08 13:30:31 UTC (rev 11601)
+++ django/branches/releases/1.1.X/django/contrib/comments/admin.py     
2009-10-08 13:32:23 UTC (rev 11602)
@@ -20,6 +20,7 @@
     list_filter = ('submit_date', 'site', 'is_public', 'is_removed')
     date_hierarchy = 'submit_date'
     ordering = ('-submit_date',)
+    raw_id_fields = ('user',)
     search_fields = ('comment', 'user__username', 'user_name', 'user_email', 
'user_url', 'ip_address')
 
 # Only register the default admin if the model is the built-in comment model


--~--~---------~--~----~------------~-------~--~----~
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