S
S
Stepan Sidorov2020-02-19 13:42:45
Django
Stepan Sidorov, 2020-02-19 13:42:45

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 question

Ask a Question

731 491 924 answers to any question