Ive been building a blog via a tutorial in the book 'django by example'.
Im working on the part where a blog post can be shared via email, everything works fine when I run it until I click the 'share post' link under an entry and then I get the following 404
Page not found (404)
Request Method: GET
Request URL: http://127.0.0.1:8000/blog/1/share/
Raised by: blog.views.post_share
No Post matches the given query.
You are having a simple typo in your code:
post = get_object_or_404(Post, id=post_id, status='pubished')
I guess it should be