From 895c908f5a76c28588146d6db08653be4ce7f398 Mon Sep 17 00:00:00 2001 From: Chris Church Date: Thu, 31 Oct 2013 12:48:56 -0400 Subject: [PATCH] AC-537 Allow creating credentials through main credentials list. --- awx/main/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/views.py b/awx/main/views.py index 87f5a877be..3524b3e641 100644 --- a/awx/main/views.py +++ b/awx/main/views.py @@ -437,7 +437,7 @@ class UserDetail(RetrieveUpdateDestroyAPIView): if changed: raise PermissionDenied('Cannot change %s' % ', '.join(changed.keys())) -class CredentialList(ListAPIView): +class CredentialList(ListCreateAPIView): model = Credential serializer_class = CredentialSerializer