Page not found (404)

No thing found matching the query
Request Method: GET
Request URL: https://samples.dj4e.com/favs/thing/42
Raised by: favs.views.ThingDetailView

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/ [name='all']
  21. favs/ thing/<int:pk> [name='thing_detail']

The current path, favs/thing/42, 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.