mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 04:23:46 +00:00
Black 23 enforces some slightly more specific rules about empty line counts and redundant parenthesis removal, but the result is still compatible with Black 22. (This does not actually upgrade our Python environment to Black 23 yet.) Signed-off-by: Anders Kaseorg <anders@zulip.com>
29 lines
718 B
Python
29 lines
718 B
Python
# Generated by Django 1.11.24 on 2019-10-03 23:40
|
|
|
|
from django.db import migrations, models
|
|
|
|
# The values at the time of this migration
|
|
ROLE_MEMBER = 400
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
("zerver", "0248_userprofile_role_start"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.RemoveField(
|
|
model_name="userprofile",
|
|
name="is_guest",
|
|
),
|
|
migrations.RemoveField(
|
|
model_name="userprofile",
|
|
name="is_realm_admin",
|
|
),
|
|
migrations.AlterField(
|
|
model_name="userprofile",
|
|
name="role",
|
|
field=models.PositiveSmallIntegerField(db_index=True, default=ROLE_MEMBER),
|
|
),
|
|
]
|