我试图使用django通知每次用户修改,创建或删除数据库条目发送电子邮件给管理员。问题是,当我创建的通知类型,并确认它们的存在,在发送实际的电子邮件,该电子邮件发送这个样子的:Django的通知更改默认模板
You have received the following notice from example.com:
Entry has been changed. <--- this line being the email content
To see other notices or change how you receive notifications, please go to http://example.com
有没有办法删除的第一行和最后一行邮件正文?我不知道这个默认模板的位置,所以我不能改变它。任何有识之士将不胜感激!
你怎么安装Django通知?通过pip,easy_install,apt-get,...? – Vincent 2013-03-25 16:09:45
sudo pip install django-notification是命令。 – Kenny 2013-03-25 16:41:21