initiating django package from a work in progress lib

This commit is contained in:
2026-10-06 15:03:00 +02:00
parent 43fa94e6b0
commit 8d8acd052e
22 changed files with 1848 additions and 1 deletions

View File

@ -0,0 +1,4 @@
---
subject is invalid
---
This shall raise a InvalidFrontMatter exception

View File

@ -0,0 +1,4 @@
---
subject: "Hello"
---
Hello world !

View File

@ -0,0 +1,2 @@
# Gabarit sans front matter délimité
Ce fichier n'a pas de front matter valide.

View File

@ -0,0 +1,5 @@
---
to: "test@example.com"
cc: "another@example.com"
---
This shall raise a MissingSubject exception

View File

@ -0,0 +1,8 @@
---
subject: "Notification de groupe"
to_groups:
- "managers"
cc:
- "{{ extra_email }}"
---
Message envoyé au groupe.

View File

@ -0,0 +1,5 @@
---
subject: "Notification pour {{ missing_user }}"
to: "test@example.com"
---
Corps de test.

View File

@ -0,0 +1,5 @@
---
subject: "Sujet présent"
to: "{{ missing_recipient }}"
---
Corps de test.

View File

@ -0,0 +1,14 @@
---
subject: "Bienvenue à la session {{ session_title }}"
to: "{{ recipient_email }}"
reply_to: "contact@gobelins.fr"
format: both
---
# Formation {{ session_title }}
Bonjour {{ recipient_name }},
Voici le programme :
{% for item in items %}
* {{ item }}
{% endfor %}

View File

@ -0,0 +1,6 @@
---
subject: "Notification inexistante"
to_groups:
- "inexistant"
---
Message.

View File

@ -0,0 +1,6 @@
---
subject: "Sujet présent"
to: "{{ recipient_email }}"
reply_to: "{{ missing_reply_to }}"
---
Corps de test.