custom profile fields: Rename "CHOICE" to "SELECT" in backend.

Rename the "CHOICE" field to "SELECT" in backend. This is
done to improve readability as a prep for the upcoming
"SELECT_MULTIPLE" field.
This commit is contained in:
tushar912
2021-03-20 16:09:22 +05:30
committed by Tim Abbott
parent 999b52d309
commit b220d29fed
6 changed files with 15 additions and 15 deletions

View File

@@ -607,7 +607,7 @@ class Command(BaseCommand):
"emacs": {"text": "Emacs", "order": "2"},
}
favorite_editor = try_add_realm_custom_profile_field(
zulip_realm, "Favorite editor", CustomProfileField.CHOICE, field_data=field_data
zulip_realm, "Favorite editor", CustomProfileField.SELECT, field_data=field_data
)
birthday = try_add_realm_custom_profile_field(
zulip_realm, "Birthday", CustomProfileField.DATE