Show pratic fields when showing the profile
This commit is contained in:
parent
2dcf3f9f6a
commit
d7e5f8b9a6
|
@ -26,6 +26,11 @@ class User(BaseUser):
|
|||
# cn -> get_full_name()
|
||||
# ou -> collectivity
|
||||
# username = uid + '@' + collectivity.slug
|
||||
USER_PROFILE = ['uid', 'first_name', 'last_name', 'email', 'collectivity',
|
||||
'is_admin', 'sirh_code', 'sirh_label', 'direction',
|
||||
'postal_address', 'fax', 'mobile', 'phone',
|
||||
'certificate_issuer_dn', 'certificate_subject_dn']
|
||||
|
||||
uid = CharField(
|
||||
verbose_name=_('identifier'),
|
||||
max_length=128)
|
||||
|
|
Reference in New Issue