Commit 1efb492f authored by olavhdi's avatar olavhdi
Browse files

#28 workouts/views using mypy plugin

parent a9cbe9d7
Pipeline #127928 failed with stage
in 28 seconds
......@@ -193,7 +193,7 @@ class WorkoutDetail(
serializer_class = WorkoutSerializer
permission_classes = [
permissions.IsAuthenticated
& (IsOwner | (IsReadOnly & (IsCoachAndVisibleToCoach | IsPublic)))
and (IsOwner or (IsReadOnly and (IsCoachAndVisibleToCoach or IsPublic)))
]
parser_classes = [MultipartJsonParser, JSONParser]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment