title: Django HTML can't read the values of the dict
body: <p>When I pass a simple dict <code>(myDict = {&quot;key&quot;: &quot;value&quot;})</code> throught render to html, it creates an error as the html can't read the values of the dict ..</p>
  <p><code>{{ myDict[&quot;key&quot;] }} &lt;!--- prompts an error--&gt;</code></p>
  <p><code>django.template.exceptions.TemplateSyntaxError: Could not parse the remainder: '['key']' from 'myDict['key']' </code></p>
  <p><em>Why didn't I pass the value directly? Because my question is not about this particular example. I'm searching for a more effecient way to use in case I wanted to pass bigger dicts and avoid writing down a for loop and if conditions on every line.</em></p>