mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-10 03:49:24 +00:00
Rename news moderate to publish
This commit is contained in:
@ -690,7 +690,7 @@ Welcome to the wiki page!
|
||||
content="Glou glou glou glou glou glou glou",
|
||||
club=bar_club,
|
||||
author=subscriber,
|
||||
is_moderated=True,
|
||||
is_published=True,
|
||||
moderator=skia,
|
||||
)
|
||||
news_dates.append(
|
||||
@ -704,12 +704,11 @@ Welcome to the wiki page!
|
||||
title="Repas barman",
|
||||
summary="Enjoy la fin du semestre!",
|
||||
content=(
|
||||
"Viens donc t'enjailler avec les autres barmans aux "
|
||||
"frais du BdF! \\o/"
|
||||
"Viens donc t'enjailler avec les autres barmans aux frais du BdF! \\o/"
|
||||
),
|
||||
club=bar_club,
|
||||
author=subscriber,
|
||||
is_moderated=True,
|
||||
is_published=True,
|
||||
moderator=skia,
|
||||
)
|
||||
news_dates.append(
|
||||
@ -725,7 +724,7 @@ Welcome to the wiki page!
|
||||
content="Fô viendre mangey d'la bonne fondue!",
|
||||
club=bar_club,
|
||||
author=subscriber,
|
||||
is_moderated=True,
|
||||
is_published=True,
|
||||
moderator=skia,
|
||||
)
|
||||
news_dates.append(
|
||||
@ -741,7 +740,7 @@ Welcome to the wiki page!
|
||||
content="Viens faire la fête avec tout plein de gens!",
|
||||
club=bar_club,
|
||||
author=subscriber,
|
||||
is_moderated=True,
|
||||
is_published=True,
|
||||
moderator=skia,
|
||||
)
|
||||
news_dates.append(
|
||||
@ -759,7 +758,7 @@ Welcome to the wiki page!
|
||||
"t'amuser le Vendredi soir!",
|
||||
club=troll,
|
||||
author=subscriber,
|
||||
is_moderated=True,
|
||||
is_published=True,
|
||||
moderator=skia,
|
||||
)
|
||||
news_dates.extend(
|
||||
|
16
core/migrations/0044_alter_userban_options.py
Normal file
16
core/migrations/0044_alter_userban_options.py
Normal file
@ -0,0 +1,16 @@
|
||||
# Generated by Django 4.2.17 on 2025-02-25 14:45
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("core", "0043_bangroup_alter_group_description_alter_user_groups_and_more"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name="userban",
|
||||
options={"verbose_name": "user ban", "verbose_name_plural": "user bans"},
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user