summaryrefslogtreecommitdiff
path: root/app/lttr/migrations
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2020-11-11 14:54:09 -0500
committerluxagraf <sng@luxagraf.net>2020-11-11 14:54:09 -0500
commit52c80b30dc84d85cbad2fe317d1058e6a0c58803 (patch)
tree1b9a56cd06879763bbe9f724d46a46ff54b28c8b /app/lttr/migrations
parent1cfbf44615d5053e6e200972ff74ade38e7d7c31 (diff)
finished up newsletter formatting and delivery. Just need to clean up
the rough edges
Diffstat (limited to 'app/lttr/migrations')
-rw-r--r--app/lttr/migrations/0011_auto_20201106_2050.py21
-rw-r--r--app/lttr/migrations/0012_auto_20201106_2109.py18
-rw-r--r--app/lttr/migrations/0013_auto_20201110_1730.py23
3 files changed, 62 insertions, 0 deletions
diff --git a/app/lttr/migrations/0011_auto_20201106_2050.py b/app/lttr/migrations/0011_auto_20201106_2050.py
new file mode 100644
index 0000000..bc3a488
--- /dev/null
+++ b/app/lttr/migrations/0011_auto_20201106_2050.py
@@ -0,0 +1,21 @@
+# Generated by Django 3.1 on 2020-11-06 20:50
+
+from django.conf import settings
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ migrations.swappable_dependency(settings.AUTH_USER_MODEL),
+ ('lttr', '0010_newslettermailing_books'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='subscriber',
+ name='user',
+ field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
+ ),
+ ]
diff --git a/app/lttr/migrations/0012_auto_20201106_2109.py b/app/lttr/migrations/0012_auto_20201106_2109.py
new file mode 100644
index 0000000..a56410b
--- /dev/null
+++ b/app/lttr/migrations/0012_auto_20201106_2109.py
@@ -0,0 +1,18 @@
+# Generated by Django 3.1 on 2020-11-06 21:09
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('lttr', '0011_auto_20201106_2050'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='mailingstatus',
+ name='status',
+ field=models.IntegerField(choices=[(-1, 'sent in test'), (0, 'sent'), (1, 'error'), (2, 'invalid email'), (4, 'opened'), (5, 'opened on site'), (6, 'link opened'), (7, 'unsubscription')], null=True, verbose_name='status'),
+ ),
+ ]
diff --git a/app/lttr/migrations/0013_auto_20201110_1730.py b/app/lttr/migrations/0013_auto_20201110_1730.py
new file mode 100644
index 0000000..8acf4c2
--- /dev/null
+++ b/app/lttr/migrations/0013_auto_20201110_1730.py
@@ -0,0 +1,23 @@
+# Generated by Django 3.1 on 2020-11-10 17:30
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('lttr', '0012_auto_20201106_2109'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='newslettermailing',
+ name='body_email_html',
+ field=models.TextField(blank=True),
+ ),
+ migrations.AlterField(
+ model_name='mailingstatus',
+ name='status',
+ field=models.IntegerField(choices=[(0, 'Initialized'), (1, 'Sent'), (2, 'Error')], null=True),
+ ),
+ ]