From 77d8b12a98b4b6309329b65024a9f33a956c8a6b Mon Sep 17 00:00:00 2001 From: Tasos Katsoulas Date: Tue, 11 Nov 2014 13:39:34 +0200 Subject: [PATCH] Add object_id in admin interface. --- remo/dashboard/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remo/dashboard/admin.py b/remo/dashboard/admin.py index 4ed861bab..8b35aa83c 100644 --- a/remo/dashboard/admin.py +++ b/remo/dashboard/admin.py @@ -9,7 +9,7 @@ class ActionItemAdmin(ExportMixin, admin.ModelAdmin): model = ActionItem list_display = ('__unicode__', 'user', 'due_date', 'created_on', - 'priority', 'updated_on') + 'priority', 'updated_on', 'object_id',) search_fields = ['user__first_name', 'user__last_name', 'user__userprofile__display_name', 'name']