Page not found (404)

No CustomDocument matches the given query.
Request Method: GET
Request URL: http://www.mosgorizbirkom.ru/documents/10279/10774/%D0%9F%D0%BE%D1%81%D1%82%D0%B0%D0%BD%D0%BE%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5%20%D0%9F%D1%80%D0%B0%D0%B2%D0%B8%D1%82%D0%B5%D0%BB%D1%8C%D1%81%D1%82%D0%B2%D0%B0%20%D0%A0%D0%A4%20%D0%BE%D1%82%2031_03_2018+N+397+(%D1%80%D0%B5%D0%B4_%D0%BE%D1%82%2024_09_2020).pdf/9c2bd355-24ac-440c-8c91-db3db353f81b
Raised by: wagtail.documents.views.serve.serve

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

  1. cms/autocompletewithpk/search/
  2. cms/redirects/
  3. api/v1/
  4. admin/
  5. cms/autocomplete/
  6. cms/pages/<int:page_id>/edit/preview/ [name='preview_on_edit']
  7. cms/pages/add/election_archive/materialcompanypage/<int:parent_page_id>/ [name='add']
  8. cms/add/election_archive/materialcompanypage/<int:parent_page_id>/preview/ [name='preview_on_add']
  9. cms/
  10. documents/ ^(\d+)/(.*)$ [name='wagtaildocs_serve']

The current path, documents/10279/10774/Постановление Правительства РФ от 31_03_2018+N+397+(ред_от 24_09_2020).pdf/9c2bd355-24ac-440c-8c91-db3db353f81b, 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.