rename the CredentialInputSource related_names so they're plural

This commit is contained in:
Ryan Petrello
2019-02-26 21:25:26 -05:00
committed by Jake McDermott
parent 13366c1e75
commit e727909a61
3 changed files with 5 additions and 5 deletions

View File

@@ -1468,7 +1468,7 @@ class CredentialInputSourceSubList(SubListCreateAttachDetachAPIView):
model = models.CredentialInputSource
serializer_class = serializers.CredentialInputSourceSerializer
parent_model = models.Credential
relationship = 'input_source'
relationship = 'input_sources'
parent_key = 'target_credential'