From 317fff6399ddd3a797505a19cc2e348b992b3fee Mon Sep 17 00:00:00 2001 From: Laurent Date: Wed, 5 Feb 2025 15:37:07 +0100 Subject: [PATCH] show count --- sync/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync/admin.py b/sync/admin.py index 6b47589..894c2da 100644 --- a/sync/admin.py +++ b/sync/admin.py @@ -20,7 +20,7 @@ class SyncedObjectAdmin(admin.ModelAdmin): queryset.delete() class ModelLogAdmin(admin.ModelAdmin): - list_display = ['get_users', 'date', 'operation', 'model_id', 'model_name'] + list_display = ['get_users', 'date', 'operation', 'model_id', 'model_name', 'count'] list_filter = ['users', 'operation', 'model_name'] ordering = ['-date'] search_fields = ['model_id']