You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
673 B
17 lines
673 B
# Generated by Django 4.2.1 on 2023-05-09 07:45
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
('blog', '0002_blogsettings_global_footer_and_more'), #ZNY 依赖于blog应用的第二个迁移文件0002
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='blogsettings', #ZNY 向BlogSettings模型添加新字段
|
|
name='comment_need_review', #ZNY 字段名称为comment_need_review
|
|
field=models.BooleanField(default=False, verbose_name='评论是否需要审核'), #ZNY 评论审核开关字段,控制评论是否需要审核才能显示
|
|
),
|
|
] |