mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
Add moderation tool to Trombi
This commit is contained in:
19
trombi/migrations/0003_trombicomment_is_moderated.py
Normal file
19
trombi/migrations/0003_trombicomment_is_moderated.py
Normal file
@ -0,0 +1,19 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('trombi', '0002_trombi_show_profiles'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='trombicomment',
|
||||
name='is_moderated',
|
||||
field=models.BooleanField(default=False, verbose_name='is the comment moderated'),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user