Add views count to admin list
This commit is contained in:
parent
c3218df28e
commit
74e93762ca
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ class ArticleAdmin(admin.ModelAdmin):
|
||||||
"created_at",
|
"created_at",
|
||||||
"published_at",
|
"published_at",
|
||||||
"updated_at",
|
"updated_at",
|
||||||
|
"views_count",
|
||||||
]
|
]
|
||||||
list_display_links = ["title"]
|
list_display_links = ["title"]
|
||||||
list_filter = ["status"]
|
list_filter = ["status"]
|
||||||
|
|
Reference in a new issue