Require explicit publishing from creator
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 2.2.28 on 2022-07-26 21:17
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("webapp", "0092_auto_20220727_0016"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="basefeed",
|
||||
name="isPublished",
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
]
|
||||
+1
-1
@@ -49,7 +49,7 @@ class BaseFeed(models.Model):
|
||||
tags = models.ManyToManyField(Tag, related_name="feeds", blank=True)
|
||||
|
||||
# Require explicit publishing from creator
|
||||
isPublished = models.BooleanField(default=True)
|
||||
isPublished = models.BooleanField(default=False)
|
||||
# Automatically publish after this time, unless still in draft (!isPublished)
|
||||
publishAt = models.DateTimeField(default=timezone.now)
|
||||
autoUnpublish = models.BooleanField(default=False)
|
||||
|
||||
Reference in New Issue
Block a user