A
A
Alexander Vinogradov2017-02-14 10:26:30
Django
Alexander Vinogradov, 2017-02-14 10:26:30

How to replace a block through views?

Good afternoon.
We have a page with a header, menu, etc. The
main template contains templates: header, main menu and main content.
When I click on the menu links, I process them with the corresponding views.
How to render a page so that only the main content block is replaced, so that the entire page is not reloaded, but only a certain block?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Kuts, 2017-02-14
@fox_12

So that the page is not reloaded, but only the block - load this block with ajax

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question