【发布时间】:2014-10-26 19:16:15
【问题描述】:
我有一个 django 项目。 它的 index.html 页面包含一个带有提交按钮的表单。我想在此 index.html 页面中包含 django-template 以发送包含此表单数据的电子邮件。没有任何python代码可以吗?就像:
{% send_mail( {{ request.GET.to }}, {{ request.GET.subject }}, {{ request.GET.message }} %}
附:我是 Django 新手。
【问题讨论】:
标签: html django email templates send