Template
## Summary Closes #11. - Mirror Monica: compose can use the postcard mailing list or 1–2 USPS carrier routes, with estimated cost shown. - Place selected routes through PCM list-count orders instead of importing occupant addresses.
40 lines
1.1 KiB
Python
40 lines
1.1 KiB
Python
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
("directmail", "0001_initial"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name="campaign",
|
|
name="route_targeting",
|
|
field=models.JSONField(blank=True, default=dict),
|
|
),
|
|
migrations.AlterField(
|
|
model_name="campaign",
|
|
name="audience",
|
|
field=models.CharField(
|
|
blank=True,
|
|
choices=[
|
|
("postcard_opt_in", "Mailing list · postcard opt-in"),
|
|
("carrier_route", "USPS carrier routes"),
|
|
],
|
|
default="",
|
|
max_length=32,
|
|
),
|
|
),
|
|
migrations.AlterField(
|
|
model_name="message",
|
|
name="contact",
|
|
field=models.ForeignKey(
|
|
blank=True,
|
|
null=True,
|
|
on_delete=models.CASCADE,
|
|
related_name="directmail_messages",
|
|
to="contacts.contact",
|
|
),
|
|
),
|
|
]
|