Files
zulip/zerver/migrations/0412_customprofilefield_display_in_profile_summary.py
yogesh sirsat 543f36b7da custom_profile_fields: Add "display_in_profile_summary" field in model.
To allow `custom_profile_field` to display in user profile popover,
added new boolean field "display_in_profile_summary" in its model class.

In `custom_profile_fields.py`, functions are edited as per conditions,
like currently we can display max 2 `custom_profile_fields` except
`LONG_TEXT` and `USER` type fields.

Default external account custom profile fields made updatable for only
this new field, as previous they were not updatable.

Fixes part of: #21215
2022-09-20 17:03:57 -07:00

19 lines
435 B
Python

# Generated by Django 4.0.7 on 2022-09-19 17:28
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("zerver", "0411_alter_muteduser_muted_user_and_more"),
]
operations = [
migrations.AddField(
model_name="customprofilefield",
name="display_in_profile_summary",
field=models.BooleanField(default=False),
),
]