NDOJ/judge/migrations/0114_auto_20201228_1041.py

31 lines
846 B
Python
Raw Permalink Normal View History

2020-12-28 05:45:58 +00:00
# Generated by Django 2.2.17 on 2020-12-28 03:41
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
2022-05-14 17:57:27 +00:00
("judge", "0113_auto_20201228_0911"),
2020-12-28 05:45:58 +00:00
]
operations = [
migrations.AddField(
2022-05-14 17:57:27 +00:00
model_name="blogpost",
name="is_organization_private",
field=models.BooleanField(
default=False, verbose_name="private to organizations"
),
2020-12-28 05:45:58 +00:00
),
migrations.AddField(
2022-05-14 17:57:27 +00:00
model_name="blogpost",
name="organizations",
field=models.ManyToManyField(
blank=True,
help_text="If private, only these organizations may see the blog post.",
to="judge.Organization",
verbose_name="organizations",
),
2020-12-28 05:45:58 +00:00
),
]