N
N
NyxDeveloper2020-12-25 17:38:08
Django
NyxDeveloper, 2020-12-25 17:38:08

Returning value from view to template via ajax?

I create a real-time table filter, I use ajax to load data without reloading. The problem is that I know js very poorly and I can’t find information anywhere on how to get information from a view using Ajax. If there are any links to materials, I will be very glad to read!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2020-12-25
@bacon

Yes, what does view and django have to do with it, abstract from them. You ajax'om make an http request to a specific url, this url should return the data you need.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question