I am using this howto for writing a blog app. I have created two category items: news and events. I want to rended the posts belonging to those categoris seperately. When a specific template is called, only the posts belonging to the categories specified should get displayed.
Share
Let’s say you have two views, one for rendering your news, and one for rendering your events:
Then you just need to create your templates and the proper url handlers in urls.py and you’re good to go.