I think I'm unlearning the basics!
I have a result that returns only one element in the dictionary:
[{'quant': 236, 'district': 'Centro'}]
My context is:
context['Districts'] = d
As I do in the template I write something like
{{ Districts.district }} - {{ Districts.quant }}
instead of
{% for i in vehicleDistrict %}
{{ i.dealership__district }} - {{ i.quant }}
{% endfor %}
Since the interaction is only one item?