Post View Count

41 views
Skip to first unread message

Sandeep Prasad Kushwaha

unread,
May 30, 2019, 2:35:02 PM5/30/19
to Mezzanine Users
I'm trying to implement counting views for each post using django package called django taggit. But I'm failed is there any other straight forward way to implement this, Please help me.
and Also I want to display post category name in post detail page. Please help me. I'm new to the django.

Christian Wiegand

unread,
Jun 19, 2019, 5:24:49 AM6/19/19
to Mezzanine Users
Mezzanine has a very useful way to add custom fields to the mezzanine models. It is documented here: http://mezzanine.jupo.org/docs/model-customization.html

Concerning the blog post category name, have a look at mezzanine/blog/templates/blog/blog_post_list.html line 89 ff. You can copy those lines to your custom blog detail template.
Reply all
Reply to author
Forward
0 new messages