2006-03-24
I needed something slightly different than the "generic date based views":http://www.djangoproject.com/documentation/generic_views/ offered by "Django":http://djangoproject.com.
I needed something which answered.. show me everything which has happened since/before X, and the standard date based view seems to be show me everything on X.
so I came up with "this":http://svn.zilbo.com/svn/django/common/filter/views/filter.py (Trunk Version).
The hardest part about it was getting the navigation right. as I only wanted to show a pageful at a time, and for any particular 'time' there might be hundreds of values.
(if someone knows of a good/better example of a UI for this please let me know and I'll make the view do something close to that).
I plan to use this to navigate through comments on "zyons":http://zyons.com which is what I have decided to call my "forum project":http://feh.holsman.net/articles/2006/02/15/starting-a-new-django-project-need-volunteers
I blogged about earlier