mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
add description to app serializer
This commit is contained in:
parent
c19bb79587
commit
91214aa899
@ -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')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user