Page not found (404)

Не найден ни один author, соответствующий запросу
Request Method: GET
Request URL: https://kelebooks.com/author/sergei-magomet/
Raised by: books.views.<class 'books.views.AuthorView'>

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

  1. [name='index']
  2. page/1/ [name='home_redirect']
  3. page/<int:page>/ [name='index']
  4. book/<slug:slug>/ [name='book']
  5. book/<slug:slug>/page/<int:page>/ [name='book_page']
  6. category/<slug:slug>/ [name='category']
  7. keyword/<slug:slug>/ [name='keyword']
  8. author/<slug:slug>/ [name='author']

The current path, author/sergei-magomet/, 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.