Current implementation will look for herald/html/{template_name}.html or herald/text/{template_name}.txt
To make it more flexible, we want to:
- handle optional slashes in
template_name (e.g. my/custom/template/path looking into my/custom/template/{template_name}.html and my/custom/template/{template_name}.txt)
- based on the type of template_name, if it's a string we keep the current behavior (slightly enhanced with the handling of slashes), and if it's a dict we except something like
'text': 'my/custom/template/path.txt',
'html': 'my/custom/template/path.html'
Engineering Todos
refs worthwhile/django-herald#19
Current implementation will look for
herald/html/{template_name}.htmlorherald/text/{template_name}.txtTo make it more flexible, we want to:
template_name(e.g.my/custom/template/pathlooking intomy/custom/template/{template_name}.htmlandmy/custom/template/{template_name}.txt)Engineering Todos
refs worthwhile/django-herald#19