Added peridoic email sender with Celery

This commit is contained in:
ayxan
2022-09-30 01:20:48 +04:00
parent 221c753690
commit ad04604b6c
8 changed files with 152 additions and 5 deletions

View File

@@ -0,0 +1,9 @@
{% autoescape off %}
Hi {{ user.username }},
There are new episodes of the series you recorded.
{% for s, d in data %}
{{d.count}} episodes of {{s.title}} you haven't watched (watched episode: {{s.last_season}} - {{s.last_episode}}).
{% endfor %}
{% endautoescape %}