Show pratic fields when showing the profile

This commit is contained in:
Benjamin Dauvergne 2015-06-16 16:17:33 +02:00
parent 2dcf3f9f6a
commit d7e5f8b9a6
1 changed files with 5 additions and 0 deletions

View File

@ -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)