diff --git a/shiftregister/app/views.py b/shiftregister/app/views.py index 1f3cc50..9e3d0be 100644 --- a/shiftregister/app/views.py +++ b/shiftregister/app/views.py @@ -22,7 +22,7 @@ def index(request): del request.session["last_seen_shift"] context = { - "days": Shift.objects.datetimes("start_at", "day"), + "days": Shift.objects.filter(deleted=False).datetimes("start_at", "day"), "enable_asta": global_preferences["helper__enable_asta"], }