|
|
@ -237,6 +237,9 @@ class UserProfileSerializer(UserSerializer):
|
|
|
|
'public_key_comment', 'public_key_hash_md5', 'admin_or_audit_orgs', 'current_org_roles',
|
|
|
|
'public_key_comment', 'public_key_hash_md5', 'admin_or_audit_orgs', 'current_org_roles',
|
|
|
|
'guide_url', 'user_all_orgs'
|
|
|
|
'guide_url', 'user_all_orgs'
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
read_only_fields = [
|
|
|
|
|
|
|
|
'date_joined', 'last_login', 'created_by', 'source'
|
|
|
|
|
|
|
|
]
|
|
|
|
extra_kwargs = dict(UserSerializer.Meta.extra_kwargs)
|
|
|
|
extra_kwargs = dict(UserSerializer.Meta.extra_kwargs)
|
|
|
|
extra_kwargs.update({
|
|
|
|
extra_kwargs.update({
|
|
|
|
'name': {'read_only': True, 'max_length': 128},
|
|
|
|
'name': {'read_only': True, 'max_length': 128},
|
|
|
|