Ticket #8917: 8917.diff
File 8917.diff, 758 bytes (added by , 16 years ago) |
---|
-
django/contrib/comments/admin.py
16 16 ), 17 17 ) 18 18 19 list_display = ('name', 'content_type', 'object_pk', 'ip_address', ' is_public', 'is_removed')19 list_display = ('name', 'content_type', 'object_pk', 'ip_address', 'submit_date', 'is_public', 'is_removed') 20 20 list_filter = ('submit_date', 'site', 'is_public', 'is_removed') 21 21 date_hierarchy = 'submit_date' 22 ordering = ('-submit_date',) 22 23 search_fields = ('comment', 'user__username', 'user_name', 'user_email', 'user_url', 'ip_address') 23 24 24 25 admin.site.register(Comment, CommentsAdmin)