From 91214aa899f37b1dbb90fc1a71dc8f9a695ff500 Mon Sep 17 00:00:00 2001 From: adamscmRH Date: Mon, 12 Mar 2018 13:41:01 -0400 Subject: [PATCH] add description to app serializer --- awx/api/serializers.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/awx/api/serializers.py b/awx/api/serializers.py index 4790fb08d1..b4027821d3 100644 --- a/awx/api/serializers.py +++ b/awx/api/serializers.py @@ -979,11 +979,13 @@ class UserAuthorizedTokenSerializer(BaseSerializer): class OAuth2ApplicationSerializer(BaseSerializer): - + + show_capabilities = ['edit', 'delete'] + class Meta: model = OAuth2Application fields = ( - '*', '-description', 'user', 'client_id', 'client_secret', 'client_type', + '*', 'description', 'user', 'client_id', 'client_secret', 'client_type', 'redirect_uris', 'authorization_grant_type', 'skip_authorization', ) read_only_fields = ('client_id', 'client_secret')