我試圖使用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