newsletter: outstanding migration
authorJan Szejko <janek37@gmail.com>
Wed, 14 Sep 2016 12:54:19 +0000 (14:54 +0200)
committerJan Szejko <janek37@gmail.com>
Wed, 14 Sep 2016 12:54:19 +0000 (14:54 +0200)
src/newsletter/migrations/0002_auto_20160914_1452.py [new file with mode: 0644]

diff --git a/src/newsletter/migrations/0002_auto_20160914_1452.py b/src/newsletter/migrations/0002_auto_20160914_1452.py
new file mode 100644 (file)
index 0000000..60d6fef
--- /dev/null
@@ -0,0 +1,28 @@
+# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('newsletter', '0001_initial'),
+    ]
+
+    operations = [
+        migrations.AlterModelOptions(
+            name='subscription',
+            options={'verbose_name': 'subscription', 'verbose_name_plural': 'subscriptions'},
+        ),
+        migrations.AlterField(
+            model_name='subscription',
+            name='active',
+            field=models.BooleanField(default=True, verbose_name='active'),
+        ),
+        migrations.AlterField(
+            model_name='subscription',
+            name='email',
+            field=models.EmailField(unique=True, max_length=254, verbose_name='email address'),
+        ),
+    ]