Page not found (404)

No post found matching the query
Request Method: GET
Request URL: https://samples.dj4e.com/well/post/47
Raised by: myarts.owner.OwnerDetailView

Using the URLconf defined in dj4e-samples.urls, Django tried these URL patterns, in this order:

  1. admin/
  2. accounts/
  3. ^oauth/
  4. hello/
  5. users/
  6. tracks/
  7. views/
  8. route/
  9. tmpl/
  10. gview/
  11. session/
  12. authz/
  13. getpost/
  14. form/
  15. crispy/
  16. myarts/
  17. menu/
  18. forums/
  19. pics/
  20. favs/
  21. favsql/
  22. rest/
  23. autos/
  24. usermodel/
  25. fetch/
  26. chat/
  27. util/
  28. well/ [name='all']
  29. well/ post/<int:pk> [name='post_detail']

The current path, well/post/47, matched the last one.

You’re seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.