Answer the question
In order to leave comments, you need to log in
Why doesn't static work in django?
The project is deployed on a remote server (apache + mod_wsgi) - it works STATIC_URL = '/static/'
.
On the local machine ( manage.py runserver
) works STATIC_URL = 'static/'
Why so?
Answer the question
In order to leave comments, you need to log in
You need to give the statics separately
. in apache you need to write something like:
Alias /static /doc/root/static
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question