Maybe this question has been asked a lot,
but I still can’t understand how to load CSS files when using django…
Please can anyone explain to me step by step how to load it?
Can I load the CSS file without the static folder or link, so I don’t need to change the urls.conf but just setting in “setting.py” file?
(Sorry if my English is bad”) 🙁
on local machine: you have to add:
on a server you don’t (and more you shouldn’t for security reasons) need the previous line.
So finally: here is my architecture:
in my settings.py:
and in my templates, i use: