title: Django display in html from views.py
body: <p>I'm newbie in Django and i would like to have a little help please.
  I have this code in views.py </p>
  
  <pre><code>def display_meta(request):
      values = request.META.items()
      values.sort
      html = []
      for k, v in values:
          html.append('&lt;tr&gt;&lt;td&gt;%s&lt;/td&gt;&lt;td&gt;%s&lt;/td&gt;&lt;/tr&gt;' % (k, v))
      return HttpResponse('&lt;table&gt;%s&lt;/table&gt;' % '/n'.join(html))
  </code></pre>
  
  <p>-------     return render(HttpResponse,'current_datetime.html',{'about': html})</p>
  
  <pre><code>def current_datetime(request):
      now = datetime.datetime.now()
      return render(request, 'current_datetime.html', {'current_date': now})
  </code></pre>
  
  <p>The part with '------' is added by me but i don't know if it's ok . The question is here , how should I display in the html file the return HttpResponse to show what meta is the user using.</p>
  
  <pre><code>{% extends "base.html" %}
  
  {% block title %}The current time{% endblock %}
  
  {% block content %}
  &lt;p&gt;It is now {{ current_date }}.&lt;/p&gt;
  &lt;p&gt;You are using {{ HERE WILL BE DISPLAYED THE META FUNCTION, BUT HOW ??? }}&lt;/p&gt;
  {% endblock %}
  
  {% block footer %}
   &lt;hr&gt;
   &lt;p&gt;Thanks for visiting my site.&lt;/p&gt;
  {% endblock %}
  </code></pre>
  
  <p>I couldn't understand exactly how to ....
  Thank you guys in advence!</p>