Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emails : nouveau modèle TemplateTransactional pour stocker nos configurations #1018

Merged
merged 6 commits into from
Dec 19, 2023

Conversation

raphodn
Copy link
Contributor

@raphodn raphodn commented Dec 14, 2023

Quoi ?

Dans l'application conversations (réutilisée au lieu de créer une nouvelle app), nouveau modèle TemplateTransactional

L'idée est d'y mettre notre config d'e-mails, et permettre une migration en douceur de Mailjet vers Brevo (voir possibilité de revert, ou d'utiliser les 2 en parallèle si besoin !)

Cette PR contient seulement :

  • le nouveau modèle
  • l'ajout dans l'admin
  • 1 test

@raphodn raphodn self-assigned this Dec 14, 2023
Copy link
Contributor

@madjid-asa madjid-asa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tu peux merge les deux migration mais sinon LGTM 🎉

from django.db import migrations, models


class Migration(migrations.Migration):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tu peux la supprimer et faire une seul migration ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bien vu ! 58fd1d4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants