Updated edit() and show() to raise Http404.

When no item is found, raise a 404.