Page not found (404)

Invalid page (40): That page contains no results
Request Method: GET
Request URL: http://kutubxonachi.uz/documents/new/?page=40
Raised by: frontend.views.books.<class 'frontend.views.books.NewBooksView'>

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

  1. [name='home-list']
  2. user/balance/ [name=' User Balance']
  3. user/profile/ [name=' Profile']
  4. user/profile/edit/ [name=' Profile Edit']
  5. user/add/ [name=' Profile Documents']
  6. user/documents/ [name=' Profile Documents']
  7. user/documents/add/ [name=' Profile Documents Add']
  8. user/story/ [name=' Profile Documents']
  9. user/story/add/ [name=' Profile Story Add']
  10. user/poetry/ [name=' Profile poetry']
  11. user/poetry/add/ [name=' Profile poetry Add']
  12. user/login/ [name=' Login']
  13. user/logout/ [name=' Log Out']
  14. user/registration/ [name=' Registration']
  15. contact/ [name='Contact-Message']
  16. authors/
  17. authors/<slug:author>/
  18. authors/<slug:pk>/autobiography/ [name='authormodel-detail']
  19. search/
  20. forum/
  21. story-and-poetry/
  22. story-and-poetry/<str:author_id>/<slug:pk>/
  23. documents/top/
  24. documents/new/

The current path, documents/new/, 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.