Merge pull request #5066 from AlanCoding/cred_list

apply some speedups to credential list
This commit is contained in:
Alan Rominger
2017-01-31 16:04:08 -05:00
committed by GitHub
3 changed files with 11 additions and 6 deletions

View File

@@ -1436,6 +1436,7 @@ class CredentialList(ListCreateAPIView):
model = Credential
serializer_class = CredentialSerializerCreate
capabilities_prefetch = ['admin', 'use']
class CredentialOwnerUsersList(SubListAPIView):