apply some speedups to credential list

This commit is contained in:
AlanCoding
2017-01-31 11:00:59 -05:00
parent 18898ac345
commit 2223901028
3 changed files with 11 additions and 6 deletions

View File

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