Ticket #11995: 11995-raw-id-user-comments.diff
File 11995-raw-id-user-comments.diff, 587 bytes (added by , 15 years ago) |
---|
-
django/contrib/comments/admin.py
20 20 list_filter = ('submit_date', 'site', 'is_public', 'is_removed') 21 21 date_hierarchy = 'submit_date' 22 22 ordering = ('-submit_date',) 23 raw_id_fields = ('user',) 23 24 search_fields = ('comment', 'user__username', 'user_name', 'user_email', 'user_url', 'ip_address') 24 25 25 26 # Only register the default admin if the model is the built-in comment model