From 74e93762cab7604058e64541c665b070c8fe2359 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Wed, 26 Aug 2020 13:28:31 +0200 Subject: [PATCH] Add views count to admin list --- articles/admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/articles/admin.py b/articles/admin.py index 3c65bf7..f4e5e65 100644 --- a/articles/admin.py +++ b/articles/admin.py @@ -20,6 +20,7 @@ class ArticleAdmin(admin.ModelAdmin): "created_at", "published_at", "updated_at", + "views_count", ] list_display_links = ["title"] list_filter = ["status"]