title: How to solve the problem that json type data is loaded from template to string type
body: <p>The &quot;content&quot; field is data in json format. But when I check this value in template , it resolves to string. I want to print the value corresponding to teacher from the dictionary below. What's wrong?</p>
  <p>[views.py]</p>
  <pre><code>    history = History(user=request.user, 
                        study=study,
                        content=study.json())
      history.save()
  
      test = History.objects.filter(study__id='12')
  </code></pre>
  <p>&quot;content&quot; value stored in DB: {'id': 12, 'is_deleted': False, 'type': 'secondary', 'study_name': 'Math', 'teacher': 'Halen/Lisa', 'team': 'A'}</p>
  <p>[html]</p>
  <pre><code>{% for test in test %}
      {{ test.content.teacher }}? {{ test.content}}
  {% endfor %}
  </code></pre>
  <p>In the case of a dictionary, the desired key value can be called, but since it is a string type, the teacher value cannot be retrieved. What should the teacher do to get the value, which is the key?</p>