mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-18 16:38:59 +00:00
Rename news moderate to publish
This commit is contained in:
1 parent
2e71275f5b
commit
4890fcf0e1
21 files changed
+186
-153
No files matched your search
@@ -0,0 +1,16 @@
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [("com", "0008_alter_news_options_alter_newsdate_options_and_more")]
|
||||
|
||||
operations = [
|
||||
migrations.RenameField(
|
||||
model_name="news", old_name="is_moderated", new_name="is_published"
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="news",
|
||||
name="is_published",
|
||||
field=models.BooleanField(default=False, verbose_name="is published"),
|
||||
),
|
||||
]
|
||||
Reference in new issue
Block a user