I created a django site that requires a blog feature. Instead of rolling back my own, I decided to use django-zinnia to provide blog functionality for my site.
I managed to change the template to integrate more closely with the pages on my existing site, but there are still things that I have not yet managed to do.
I came across zinnia template tags , but they do not give me the full level of access that I need.
In particular, I need to do the following:
Access to message properties (for example, βpostsβ in Zinnia lingo) and comments so that I can display the following items on my homepage:
- Show thumbnails of the last N posts (or most popular posts, for example)
- Show last X comments
Programmatically create new messages - and indicate the status of the message, i.e. draft / published
Restrict viewing specific messages to authenticated users belonging to a specific django user group.
Can I get this tight integration between Zinnia and my django site - or is it better for me to write my own blog application with the requested features?
source share