title: django template - parse variable inside string variable
body: <p>I'm pulling a dynamic content(from a database) to a template. You can think of this as some simple CMS system. The content string contains a template variable. Like this one (simplified case):</p>
  
  <pre><code>vars['current_city'] = "London"
  vars['content'] = 'the current city is: {{current_city}}'  #this string comes from db
  return render_template(request, 'about_me.html',vars)
  </code></pre>
  
  <p>then in template:</p>
  
  <pre><code>{{content}}
  </code></pre>
  
  <p>output obviously:<br/>
      the current city is: {{current_city}}<br/>
  expected:<br/>
      the current city is: London<br/><br/></p>
  
  <p>My question - is there any way to render a variable name inside another variable? Using custom template tag/filter seems to be a good idea but I was trying to create one with no success... Any ideas how this can be solved?</p>