Imagine there is a Django HTML-template with a variable foo
:
<div>
{{ foo }}
</div>
Is it possible to reload foo
's value somehow without API call and without page reload?
Imagine there is a Django HTML-template with a variable foo
:
<div>
{{ foo }}
</div>
Is it possible to reload foo
's value somehow without API call and without page reload?
After searching for an answer, I came to conclusion there is no way to update it without page reload or API-call. So, the solution is to change the approach.