HI, beginner question. I spent several hours trying to find out how to do this but I’m stuck.
I’m trying to iterate through this dict in a template and finally on the right place access the “text” field.
I tried something like
{% for meaning in meanings %}
{% for field in meaning %}
{% for translations in field %}
{% for lang in translations %}
{% for entry in lang %}
{{ entry.text }} ??? but this doesn’t show any content
{
"meanings": [
{
"translations": {
"de": [
{
"text": "Positives Recht",
"rod": "n"
}
],
"en": [
{
"text": "positive law"
}
],
"fr": [
{
"text": "droit positif",
"rod": "m"
}
],
"la": [
{
"text": "ius positivum",
"rod": "n"
}
]
}
}
],
}