dont show days with only deleted views
This commit is contained in:
parent
56d4202b56
commit
b897bed39c
|
@ -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"],
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue