I
I
Ivan Koryakin2021-02-04 09:41:54
JavaScript
Ivan Koryakin, 2021-02-04 09:41:54

How to send bans from DB to static JS files?

return render(request, 'main/wb1.html', data)
So I'm sending data to templates/main/wb1.html, but how to send to JS, which is in static/js/wb1.js folders?
The static file is attached to the HTML file.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2021-02-04
@valera228822

No way. If you need this, then you are doing something wrong.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question