1👍
✅
The problem is in the post_withslug
view. You are not actually using a RequestContext in that view. d
is a standard dictionary. So, context processors will not be run and the messages will not appear.
You should use the render
shortcut instead of render_to_response
:
return render(request, "article/post.html", d)
Source:stackexchange.com