Page not found (404)

“/home/l/lkiweb/decabristy-online.ru/dekabristy/media/pdf/Zavalishin.pdf” does not exist
Request Method: GET
Request URL: http://decabristy-online.ru/media/pdf/Zavalishin.pdf
Raised by: django.views.static.serve

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

  1. ^admin/
  2. ^preview/(?P<pk>[0-9]+)/(?P<width>[0-9]+)/(?P<height>[0-9]+)/$ [name='img']
  3. ^media/(?P<path>.*)$

The current path, media/pdf/Zavalishin.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.