”/www/wwwroot/tjck-django/media/article_files/2021/05/16/yrkmuo.pdf"不存在
Request Method: | GET |
---|---|
Request URL: | https://127.0.0.1:443/media/article_files/2021/05/16/yrkmuo.pdf |
Raised by: | django.views.static.serve |
Using the URLconf defined in tjck.urls
,
Django tried these URL patterns, in this order:
The current path, media/article_files/2021/05/16/yrkmuo.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.