Mercurial > public > sg101
diff gpp/comments/admin.py @ 140:91a01b8b5885
Comments: in order to show a green board concept while looking at the comments in the admin, added a 'not removed' boolean function.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Mon, 30 Nov 2009 03:20:24 +0000 |
parents | 777451a98f9d |
children | b4305e18d3af |
line wrap: on
line diff
--- a/gpp/comments/admin.py Sun Nov 29 22:33:15 2009 +0000 +++ b/gpp/comments/admin.py Mon Nov 30 03:20:24 2009 +0000 @@ -17,7 +17,8 @@ {'fields': ('ip_address', 'is_public', 'is_removed')} ), ) - list_display = ('__unicode__', 'content_type', 'object_id', 'ip_address', 'creation_date', 'is_public', 'is_removed') + list_display = ('__unicode__', 'content_type', 'object_id', 'ip_address', + 'creation_date', 'is_public', 'not_removed') list_filter = ('creation_date', 'is_public', 'is_removed') date_hierarchy = 'creation_date' ordering = ('-creation_date', )