Ben Sturmfels
789d0c8c84
This change removes the unused `ContactEntry` model and the `subscribe` view and replaces it with an `Unsubscription` model and an `unsubscribe` view. It works similarly, but is intended to be used with the `list-unsubscribe` and `list-unsubscribe-post` headers.
32 lines
818 B
Python
32 lines
818 B
Python
# Generated by Django 4.2.11 on 2024-04-09 08:01
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = []
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Unsubscription',
|
|
fields=[
|
|
(
|
|
'id',
|
|
models.AutoField(
|
|
auto_created=True,
|
|
primary_key=True,
|
|
serialize=False,
|
|
verbose_name='ID',
|
|
),
|
|
),
|
|
('created', models.DateTimeField(auto_now_add=True)),
|
|
('email', models.EmailField(max_length=254)),
|
|
],
|
|
options={
|
|
'ordering': ['created'],
|
|
},
|
|
),
|
|
]
|