2
0
Fork 0

dont show days with only deleted views

This commit is contained in:
Andreas (@xAndy) Zimmermann 2023-05-07 00:32:55 +02:00
parent 56d4202b56
commit b897bed39c
1 changed files with 1 additions and 1 deletions

View File

@ -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"],
}