Add host and project to the credential serializer.

This commit is contained in:
Luke Sneeringer 2014-07-22 15:21:24 -05:00
parent 1531af4f7e
commit a05aac8a50

View File

@ -1131,8 +1131,8 @@ class CredentialSerializer(BaseSerializer):
class Meta:
model = Credential
fields = ('*', 'user', 'team', 'kind', 'cloud', 'username',
'password', 'ssh_key_data', 'ssh_key_unlock',
fields = ('*', 'user', 'team', 'kind', 'cloud', 'host', 'username',
'password', 'project', 'ssh_key_data', 'ssh_key_unlock',
'sudo_username', 'sudo_password', 'vault_password')
def to_native(self, obj):