— Yeah, you have to make a query
— Do you need to refresh the page?
— Ok, mmm then rendering the whole template is not an option
— You should separate templates
— And reload the part that you want to render again
— Https://stackoverflow.com/questions/16110099/how-to-render-only-part-of-html-with-data-using-django
— Does it suit your needs?