title: how to render row query with django_table2
body: <p>hope you will find this message well.</p>
  <p>I am new to  django and trying to understand all functionality (its hard for me!). Hope somebody can point me to right direction with small query below?</p>
  <p>I've been trying all morning to render 'row' sql query with django_table2 module but I can not  make it work.</p>
  <pre><code>#view.py
  def test(request):
     template = 'test.html'
     
     with connection.cursor() as cursor:
        cursor.execute('select * from EMC')
        arrays = cursor.fetchall()
  
     context = {
        'arrays': arrays
     }
     
     return render(request, template, context)
  
  
  #test.html
  {% extends &quot;base.html&quot; %}
  {% load render_table from django_tables2 %}
  
  {% block content %}
  &lt;h2&gt; Test page&lt;/h2&gt; 
  &lt;p class=&quot;text-justify font-italic&quot;&gt; 
  
  {% render_table arrays %}
  
  &lt;/p&gt;
  {% endblock %}
  </code></pre>
  <p>I presume I am missing to setup table.py but not sure how to form it?
  Anybody can point me to right direction?</p>
  <p>With above I am getting following error:
  Expected table or queryset, not tuple...</p>
  <p>Thank you in advance...
  ZDZ</p>