Flask Security:自定义电子邮件模板 [英] Flask Security: Customize Email Templates

查看:151
本文介绍了Flask Security:自定义电子邮件模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在不更改源代码的情况下自定义烧瓶安全性中使用的电子邮件模板?

How do you customize the email templates used in flask security without altering the source code?

我需要的其他所有东西,例如Web模板和电子邮件主题,都可以按照配置中的定义进行配置: https://pythonhosted.org/Flask-Security/configuration.html

Everything else I have needed such as web templates and email subjects are configurable as defined in the configuration: https://pythonhosted.org/Flask-Security/configuration.html

已解决: 创建目录模板/安全性/电子邮件 将所有电子邮件模板复制到此文件夹中,然后可以对其进行编辑.

SOLVED: Create a directory templates/security/email Copy all the email templates into this folder and you can edit them.

推荐答案

已解决:创建目录模板/安全性/电子邮件将所有电子邮件模板复制到此文件夹中,然后可以对其进行编辑.

SOLVED: Create a directory templates/security/email Copy all the email templates into this folder and you can edit them.

这篇关于Flask Security:自定义电子邮件模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆