I am trying to show formatted number with thousands separator like '123,456,789', but with below code it doesn't show as desired at html. How should I correct this? The below does work but it shows like '123456789 EUR'
views.py
class ScatterView(TemplateView) :
def get(self, request, *args, **kwargs) :
context = super().get_context_data(**kwargs)
context['price'] = str(plots.get_price()).format()
return render(request, 'index.html', context)
index.html
{{ price }} EUR