def changelist_view(self, request, extra_context=None):
    response = super().changelist_view(request, extra_context=extra_context)
    try:
        qs = response.context_data['cl'].queryset.timesofdays()
    except (AttributeError, KeyError):
        return response
    response.context_data['scheduled_days'] = qs
    return response
def changelist_view(self, request, extra_context=None):
    response = super().changelist_view(request, extra_context=extra_context)
    try:
        qs = response.context_data['cl'].queryset.timesofdays()
    except (AttributeError, KeyError):
        return response
    response.context_data['scheduled_days'] = qs
    return response