fix: 修复资产系统用户auth-info获取流程及创建时手动登录方式的校验

This commit is contained in:
Michael Bai
2021-10-22 14:27:54 +08:00
committed by 老广
parent c341d01e5a
commit 06de6c3575
13 changed files with 77 additions and 50 deletions

View File

@@ -29,6 +29,8 @@ class TicketViewSet(CommonApiMixin, viewsets.ModelViewSet):
search_fields = [
'title', 'action', 'type', 'status', 'applicant_display'
]
ordering_fields = ('title',)
ordering = ('title', )
def create(self, request, *args, **kwargs):
raise MethodNotAllowed(self.action)