switch CredentialInput creation to use the associate/disassociate view

This commit is contained in:
Ryan Petrello
2019-02-18 14:42:14 -05:00
committed by Jake McDermott
parent d87144c4a7
commit 9036ba492c
3 changed files with 57 additions and 47 deletions
+2 -2
View File
@@ -1427,7 +1427,7 @@ class CredentialInputSourceDetail(RetrieveUpdateDestroyAPIView):
serializer_class = serializers.CredentialInputSourceSerializer
class CredentialInputSourceList(ListCreateAPIView):
class CredentialInputSourceList(ListAPIView):
view_name = _("Credential Input Sources")
@@ -1435,7 +1435,7 @@ class CredentialInputSourceList(ListCreateAPIView):
serializer_class = serializers.CredentialInputSourceSerializer
class CredentialInputSourceSubList(SubListAPIView):
class CredentialInputSourceSubList(SubListCreateAttachDetachAPIView):
view_name = _("Credential Input Sources")