D
D
Dmitry Matveev2018-08-15 21:21:30
Django
Dmitry Matveev, 2018-08-15 21:21:30

Django doesn't see the static file. Why?

Hello, placed static files in static folder without application.
5b746dd241e65597603838.png
I'm trying to use this static css file in the template.
5b746e2b0b1f8996828702.png
But Django doesn't give it away.
Here is the log from django:
5b746ea8e2edc991925664.png
And here is the log from chrome:
5b746ed90f0df459773985.png
If you put all these files in the application, then everything will work. But I want without an application, because these files will be the same for all pages. Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vadim Shatalov, 2018-08-15
@DmMatveev

https://docs.djangoproject.com/en/dev/ref/settings...

V
vvnaumov, 2020-10-22
@vvnaumov

DEBUG=True

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question