D
D
Deanon_452020-06-13 22:19:22
Django
Deanon_45, 2020-06-13 22:19:22

How to make a separate render?

Hello. I do not quite understand how you can display a separate render of two elements.
I have two blocks on the page. Each block is rendered as a separate list. those. when rendering I give two lists

render(request, 'aboard/index.html', {'info':gen_chart(),'lter':gen_act()} )


How can I make the page render when loading, and then when the button is pressed, only one block is processed (i.e. the data changes only in one list, and the first list remains unchanged after the page is loaded)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alternativshik, 2020-06-13
@alternativshik

AJAX

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question