Answer the question
In order to leave comments, you need to log in
How to fix file link problem in Django?
I'm making a Django Project on a local server, and I need to write in JavaScript a link to a file that JavaScript needs. I did it as usual, through static files, but Django still sees the link as: http://127.0.0.1:8000/static/my_file
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question