저는 이것을 사용하고 있습니다 : https://github.com/pinax/django-notification/blob/master/docs/usage.txt왜 장고 알림에서이 오류가 발생합니까?
그래서 저는 모든 단계를 밟았습니다.
from notification import models as notification
#first, create the notification type.
notification.create_notice_type("comment_received", ("Comment Received"), ("You have received a comment."))
#then, send the notification.
notification.send(request.user, "comment_received", {})
당연히 내 서식 파일 디렉토리에서 나는 의사가 말하는 것처럼 "알림"을 만들었습니다. 이 파일은 지금 비어있는
full.html, 된 통지,
- full.txt, short.txt :
/templates/notification/comment_received
내부, 나는 4 개 파일이 있습니다. 그들은 단지 임의의 문장을 말합니다.
알림을 보내려고 할 때 왜이 오류가 발생합니까?
Exception Type: NoReverseMatch at/ Exception Value: Reverse for 'notification_notices' with arguments '()' and keyword arguments '{}' not found.