views.py 258 Bytes
Newer Older
fred's avatar
fred committed
1 2 3 4 5 6 7 8 9
from django.views.generic.dates import DayArchiveView

from .models import SomaLogLine

class SomaDayArchiveView(DayArchiveView):
    queryset = SomaLogLine.objects.all()
    date_field = "play_timestamp"
    make_object_list = True
    allow_future = False