trans filter bug
This commit is contained in:
parent
639cd4190a
commit
21463c1ba2
|
@ -60,7 +60,7 @@ class TransitionViewSet(CreateModelMixin, UpdateModelMixin, RetrieveModelMixin,
|
||||||
queryset = Transition.objects.all()
|
queryset = Transition.objects.all()
|
||||||
serializer_class = TransitionSerializer
|
serializer_class = TransitionSerializer
|
||||||
search_fields = ['name']
|
search_fields = ['name']
|
||||||
filterset_fields = ['workflow', 'state']
|
filterset_fields = ['workflow']
|
||||||
ordering = ['id']
|
ordering = ['id']
|
||||||
|
|
||||||
class CustomFieldViewSet(CreateModelMixin, UpdateModelMixin, RetrieveModelMixin, DestroyModelMixin, GenericViewSet):
|
class CustomFieldViewSet(CreateModelMixin, UpdateModelMixin, RetrieveModelMixin, DestroyModelMixin, GenericViewSet):
|
||||||
|
|
Loading…
Reference in New Issue