perf: 修改细节

This commit is contained in:
Bai
2021-01-02 07:47:43 +08:00
committed by Jiangjie.Bai
parent cef93abb2f
commit 24b1c87121
6 changed files with 16 additions and 12 deletions

View File

@@ -15,7 +15,7 @@ __all__ = ['CommentViewSet']
class CommentViewSet(mixins.CreateModelMixin, viewsets.ReadOnlyModelViewSet):
serializer_class = serializers.CommentSerializer
permission_classes = (IsSwagger| IsAssignee | IsApplicant,)
permission_classes = (IsSwagger | IsAssignee | IsApplicant,)
@lazyproperty
def ticket(self):