I agree with Mariusz.
Moreover, the app directories loader class is really small. You can create
a project-specific version in 3 lines, if you need:
class Loader(FilesystemLoader):
def get_dirs(self):
return get_app_template_dirs("email-templates")
On Tue, May 10, 2022 at 6:27 AM Mar
Hi,
Thanks for the proposition. I'm not sure why the new option is better
than using subdirectories in *"templates" *e.g. *"templates/mail/".*
Best,
Mariusz
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to Django itself)"
*Feature*:
Configure name of the templates directory in which the app directory
template loader looks for matching template names. Possibly from the
template settings.
*Current situation: *
Currently the directory name ('templates') is hardcoded in the app
directory loader (*template/loaders/a