diff --git a/lemarche/conversations/constants.py b/lemarche/conversations/constants.py index 01019515b..e625b1d14 100644 --- a/lemarche/conversations/constants.py +++ b/lemarche/conversations/constants.py @@ -2,8 +2,10 @@ SOURCE_MAILJET = "MAILJET" SOURCE_BREVO = "BREVO" +SOURCE_DJANGO = "DJANGO" SOURCE_CHOICES = ( (SOURCE_MAILJET, "Mailjet"), (SOURCE_BREVO, "Brevo"), + (SOURCE_DJANGO, "Django"), ) diff --git a/lemarche/conversations/migrations/0014_alter_templatetransactional_source.py b/lemarche/conversations/migrations/0014_alter_templatetransactional_source.py new file mode 100644 index 000000000..758a0d3ea --- /dev/null +++ b/lemarche/conversations/migrations/0014_alter_templatetransactional_source.py @@ -0,0 +1,22 @@ +# Generated by Django 4.2.9 on 2024-04-29 13:28 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ("conversations", "0013_templatetransactional_email_fields"), + ] + + operations = [ + migrations.AlterField( + model_name="templatetransactional", + name="source", + field=models.CharField( + blank=True, + choices=[("MAILJET", "Mailjet"), ("BREVO", "Brevo"), ("DJANGO", "Django")], + max_length=20, + verbose_name="Source", + ), + ), + ]