G
G
gh05t_vk2021-09-04 17:19:48
Django
gh05t_vk, 2021-09-04 17:19:48

How to include css correctly?

Hello, such a problem, I'm making a site on Django, I connected css styles, but they don't work, if you just run the html file, all the styles get up as they should.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Shamanov, 2021-09-04
@gh05t_vk

https://docs.djangoproject.com/en/3.2/howto/static...

Q
Qreen, 2021-09-04
@Qreen

I don't know how it is on django, but when I wrote on flask, there was a similar problem. She decided to disable caching, with this line: . Rummage in Google in this direction, suddenly it will help app.config['SEND_FILE_MAX_AGE_DEFAULT']

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question