andrewebdev / tehblog

A very simple django blogging app
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Seperate list view templates #18

Closed andrewebdev closed 13 years ago

andrewebdev commented 13 years ago

Using a single template for the list view is cumbersome. Though it works, there is a lot of custom checking and logic that needs to be done within the template itself to get the correct titles etc. This is not good.

Seperate the templates into seperate date based templates ie. tehblog/archive_year.html tehblog/archive_month.html tehblog/archive_day.html etc.

andrewebdev commented 13 years ago

Wont Fix. It works well, since we only need one template. While updating the app to support django 1.3 generic views, I will make sure that the same context variable is passed to the list_view template, which will then make it a lot easier to create the list_view.html template.

Leaving this open until that is done.

andrewebdev commented 13 years ago

available in dev branch