Page not found (404)

No Document matches the given query.
Request Method: GET
Request URL: https://deti-travel.ru/documents/5/2020.pdf
Raised by: wagtail.documents.views.serve.serve

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

  1. ^django-admin/
  2. ^martor/
  3. ^admin/
  4. ^documents/ ^(\d+)/(.*)$ [name='wagtaildocs_serve']

The current path, documents/5/2020.pdf, 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.