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

[FEATURE SUGGESTION] Provide an admin interface for templates #133

Open
YPCrumble opened this issue Jul 20, 2021 · 1 comment
Open

[FEATURE SUGGESTION] Provide an admin interface for templates #133

YPCrumble opened this issue Jul 20, 2021 · 1 comment

Comments

@YPCrumble
Copy link

Thanks for maintaining this repo! I have a feature suggestion that would really help some nontechnical members of my team.

A really nice feature to have would be an admin interface for non-technical users to view templates and, ideally using a WYSIWYG editor, edit the templates.

For templates built in a html file, providing a read-only admin interface would be nice as well, including the template as well as the to, from, subject, etc. fields that are part of the email.

Is this something that would be a welcome addition? Any thoughts on whether this would be reasonably doable? For a WYSIWYG editor it would likely mean storing those templates that use WYSIWYG in the database.

Thanks again fro maintaining django templated email, and for considering this!

@fjsj
Copy link
Member

fjsj commented Aug 2, 2021

Hi @YPCrumble, that's a great suggestion, but I think that's best to have that as a separate repo/Django app called django-templated-email-admin or something similar.

Once that's implemented, we can add a function called send_admin_templated_mail to django-templated-email. Alternatively, we can support admin-created template names in the existing send_templated_mail function. Note any of those would only work if django-templated-email-admin is installed.

If you want to proceed with the implementation of this new app, I suggest you to create the new repo. Feel free to add me as a reviewer to PRs as you add functionality if you wish.

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

No branches or pull requests

2 participants