사용자가 데이터베이스 항목을 수정, 생성 또는 삭제할 때마다 관리자에게 전자 메일을 보내려는 django-notification을 사용하려고합니다. 내가 통지 유형을 생성하고 실제 이메일을 보낼 때 그들이 존재를 확인했다 동안 문제가있다, 이메일이 같은 외모를 보내 django-notification 변경 기본 템플릿
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
은의 처음과 마지막 줄을 제거하는 방법이 있나요 이메일 본문? 이 기본 템플릿의 위치를 모르므로 변경할 수 없습니다. 어떤 통찰력이라도 대단히 감사하겠습니다!
base.html
email_body.txt email_subject.txtsudo pip install django-notification이 명령입니다. – Kenny