From 5be4f96651e034b89bc852d86ac7b49116c6c6f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20Marti=CC=81n?= Date: Sat, 21 Mar 2015 23:54:55 +0100 Subject: [PATCH] Improved projects admin list --- fmartingrcom/apps/projects/admin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fmartingrcom/apps/projects/admin.py b/fmartingrcom/apps/projects/admin.py index 7841f33..0a7e9ed 100644 --- a/fmartingrcom/apps/projects/admin.py +++ b/fmartingrcom/apps/projects/admin.py @@ -37,7 +37,8 @@ class ProjectImageInline(admin.TabularInline): class ProjectAdmin(reversion.VersionAdmin): - list_display = ('title', 'group', 'company', 'role', ) + list_display = ('title', 'date', 'group', 'company', 'role', 'visible', ) + list_editable = ('visible', ) inlines = (ProjectImageInline, ) prepopulated_fields = {"slug": ("title",)}