proversity-org / edx-platform

The Open edX platform, the software that powers edX!
http://open.edx.org/
GNU Affero General Public License v3.0
1 stars 1 forks source link

PE-665 - Add support for extended profile fields name mapping. #1109

Closed Squirrel18 closed 4 years ago

Squirrel18 commented 4 years ago

Description:

This PR adds support for field name mapping to the extended profile fields. Now you can set the display name of the fields using a settings called: extended_profile_fields_name_mapping e.g. "extended_profile_fields_name_mapping":{ "my_extended_profile_field": "My extended profile field display name." }

Reviewers:

andrey-canon commented 4 years ago

Why do you need to do this ?

Squirrel18 commented 4 years ago

https://github.com/proversity-org/edx-platform/blob/efac712b7954680df93724540143f5292e350c69/lms/djangoapps/student_account/views.py#L380 There is defined the display name for the extended profile fields so, if you add the new profile field as: my_extended_profile_field the display name will be the same (with underscores). @andrey-canon