This is my dictionary:
[{'entity': 'first entity', 'place': ['first', 'second', 'abc']}, {'entity': 'second entity', 'place': ['awe', 'ert']}]
and I want to print the values this way:
-first entity
-first, second, abc
-second entity
-awe, ert
I tried a lot of things but I don’t know how to deal with the list of the second key
Could you also suggest me how to do the same in a Django template?
Thanks in advance
for python code,
for django template: