diff options
Diffstat (limited to 'app/lib/django_comments/admin.py')
-rw-r--r-- | app/lib/django_comments/admin.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/lib/django_comments/admin.py b/app/lib/django_comments/admin.py index d4af2d9..8451c70 100644 --- a/app/lib/django_comments/admin.py +++ b/app/lib/django_comments/admin.py @@ -19,6 +19,7 @@ class UsernameSearch(object): class CommentsAdmin(admin.ModelAdmin): + fieldsets = ( ( None, @@ -34,7 +35,7 @@ class CommentsAdmin(admin.ModelAdmin): ), ) - list_display = ('name', 'content_type', 'object_pk', 'ip_address', 'submit_date', 'is_public', 'is_removed') + list_display = ('name', 'content_type', 'get_object_url', 'object_pk', 'ip_address', 'submit_date', 'is_public', 'is_removed') list_filter = ('submit_date', 'site', 'is_public', 'is_removed') date_hierarchy = 'submit_date' ordering = ('-submit_date',) |