J
J
JyriG2021-04-30 14:50:54
Django
JyriG, 2021-04-30 14:50:54

Changes in django site not updating?

Hi all!
I'm making changes to static files in a Django site, however nothing happens.
This is my first time making a Django site, how do I fix this?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Y
Yupiter7575, 2021-04-30
@yupiter7575

Clear your browser cache. Check relative paths, django has problems with them

D
Dmitry, 2021-04-30
@dmtrrr

python manage.py collectstatic
https://docs.djangoproject.com/en/3.2/howto/static...

M
Manuchehr Haidarow, 2021-04-30
@Male3531

Well, look, all files related to the site should be in one place. For example, C: User/Local/Programms/Python/Python39/ and the python file. And the interpreter should also be launched from this place or was associated with it. in the settings you need to specify that these are public resources. And it will no longer matter where the site files are located.
And yes, take a look at the YouTube channel there is a very good channel on programming. It's called Selfedu. It has what you are looking for and not only.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question