Page not found (404)

No Document matches the given query.
Request Method: GET
Request URL: http://obs-balashiha.ru/documents/28/
Raised by: web.views.document

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

  1. admin/
  2. [name='index']
  3. novosti/ [name='news']
  4. novosti/<int:pk>/ [name='news_view']
  5. biblioteki/ [name='biblioteki']
  6. biblioteki/<int:pk>/ [name='biblioteka']
  7. categories/ [name='document_categories']
  8. category/<int:category_id>/ [name='documents_in_category']
  9. documents/ [name='documents']
  10. documents/<int:pk>/ [name='document']

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