Page not found (404)

No Book matches the given query.
Request Method: GET
Request URL: http://bookmarker.dellsystem.me/book/the-baffler-45
Raised by: bookmarker.views.view_book

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

  1. ^__debug__/
  2. ^admin/
  3. ^$ [name='home']
  4. login [name='login']
  5. ^logout$ [name='logout']
  6. ^addbook$ [name='add_book']
  7. ^addauthor$ [name='add_author']
  8. ^books/(?P<book_type>\w+)$ [name='view_books']
  9. ^authors$ [name='view_all_authors']
  10. ^terms$ [name='view_all_terms']
  11. ^notes$ [name='view_all_notes']
  12. ^print/tag/(?P<slug>[\w-]+)$ [name='print_tag']
  13. ^s/(?P<slug>[\w-]+)$ [name='section_redirect']
  14. ^book/(?P<slug>[\w-]+)$ [name='view_book']

The current path, book/the-baffler-45, 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.