It maybe a little naive question but I have been trying to understand how I can use the new Date Based views in django, but without an example, I am at a dead end. What I want to do is to show all my blog entries on a page (with pagination) and in the side navigation I want to show the archiving done according to year and month.
What I want is very basic and can be seen in the picture attached below.

If somebody can provide me an example then it would be really great. I can handle the templates, but just need to know how to use the class based generic views. I haven’t really really used much if generic views.
The simplest example:
views.pyYou need to call the view with a correct day and month, otherwise you’ll get an exception. Default arguments are
yearinYformat, andmonthinb(lowercase short month name).Example call
articles/monthly/?year=2012&month=febHere is a sample
archive_templates/monthly.htmlyou can use.I am using css classes from the excellent twitter bootstrap framework. Highly recommended!
This snippet goes through the available months:
This snippet does the pagination:
The actual list of objects is very simple to iterate over:
From here you should be able to figure out how to develop your archive menu.