summaryrefslogtreecommitdiff
path: root/news/migrations/0002_news_send_announce.py
diff options
context:
space:
mode:
authorGiancarlo Razzolini <grazzolini@archlinux.org>2017-03-20 16:40:00 -0300
committerGiancarlo Razzolini <grazzolini@archlinux.org>2017-03-20 16:40:00 -0300
commit198f35c3b9c2201fb5f6906e1af8c5d700669d11 (patch)
treedbac09efa84f23562276e709164baf60e16d4d6b /news/migrations/0002_news_send_announce.py
parente81d36ab05801590343e373fbb97265d84c2fcc5 (diff)
news: Add send_announce to the model
Added a new send_announce boolean that controls if an e-mail containing the announce will or not be sent.
Diffstat (limited to 'news/migrations/0002_news_send_announce.py')
-rw-r--r--news/migrations/0002_news_send_announce.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/news/migrations/0002_news_send_announce.py b/news/migrations/0002_news_send_announce.py
new file mode 100644
index 00000000..62c23226
--- /dev/null
+++ b/news/migrations/0002_news_send_announce.py
@@ -0,0 +1,20 @@
+# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
+
+from django.db import models, migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('news', '0001_initial'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='news',
+ name='send_announce',
+ field=models.BooleanField(default=True),
+ preserve_default=True,
+ ),
+ ]