clean up access to various CredentialInputSource fields (#3336)

This commit is contained in:
Ryan Petrello
2019-02-28 10:21:48 -05:00
committed by Jake McDermott
parent 018ff91620
commit 011d7eb892
3 changed files with 11 additions and 18 deletions

View File

@@ -1175,6 +1175,7 @@ class CredentialInputSourceAccess(BaseAccess):
'''
model = CredentialInputSource
select_related = ('target_credential', 'source_credential')
def filtered_queryset(self):
return CredentialInputSource.objects.filter(