Skip to content

Commit

Permalink
New TemplateTransactional source choice: Django
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Apr 29, 2024
1 parent e7c80af commit 234a9ee
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lemarche/conversations/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

SOURCE_MAILJET = "MAILJET"
SOURCE_BREVO = "BREVO"
SOURCE_DJANGO = "DJANGO"

SOURCE_CHOICES = (
(SOURCE_MAILJET, "Mailjet"),
(SOURCE_BREVO, "Brevo"),
(SOURCE_DJANGO, "Django"),
)
Original file line number Diff line number Diff line change
@@ -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",
),
),
]

0 comments on commit 234a9ee

Please sign in to comment.