dont show days with only deleted views

pull/1/head
parent 56d4202b56
commit b897bed39c

@ -22,7 +22,7 @@ def index(request):
del request.session["last_seen_shift"] del request.session["last_seen_shift"]
context = { 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"], "enable_asta": global_preferences["helper__enable_asta"],
} }

Loading…
Cancel
Save