I am stuck not knowing how to do this. i am using values()
method to get specific column from db but i dont know how to get the value of that column in queryset, i am getting after values()
something like this:
[columnname: value]
I want to get only the value. I think, in views.py i can get the value with object['column']
, but how do i get the value in template in django?
or what is the best way to do this?