Ported date-based views to Django 1.5.