Page not found (404)

No CustomDocument matches the given query.
Request Method: GET
Request URL: http://www.mosgorizbirkom.ru/documents/10279/23964007/%D0%94%D0%9C%D0%A1_091_%D0%9A%D1%83%D0%B7%D1%8C%D0%BC%D0%B8%D0%BD%D0%BA%D0%B8_3.2.5.4_02.pdf/a0446d31-f626-48df-9479-63a12831f0ce
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/23964007/ДМС_091_Кузьминки_3.2.5.4_02.pdf/a0446d31-f626-48df-9479-63a12831f0ce, 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.