I have a dictionary like this :
myDict = {key1: item1,
          key2: item2}
How can I get item1 by providing key1 in django template and more if I have a nested dict like this:
myDict2 = {key1: {key11: item11,
                  key12: item12},
           key2: {key21: item21,
                  key22: item22}}
for example how can I get item22 using key22
I know {{  myDict[key1] }} doesn't work
 
     
     
    