From eaa30f0acc51b11abd98a8a4f98386f23d08e22c Mon Sep 17 00:00:00 2001 From: Konrad Mohrfeldt <konrad.mohrfeldt@farbdev.org> Date: Tue, 29 Aug 2023 22:44:11 +0200 Subject: [PATCH] fix: restore show filtering in nested timeslot routes The Timeslot no longer has a show attribute. It is exposed through timeslot.schedule.show instead. --- program/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/views.py b/program/views.py index 230a72e6..a1e0163b 100644 --- a/program/views.py +++ b/program/views.py @@ -732,7 +732,7 @@ class APITimeSlotViewSet( viewsets.GenericViewSet, ): ROUTE_FILTER_LOOKUPS = { - "show_pk": "show", + "show_pk": "schedule__show", "schedule_pk": "schedule", } -- GitLab