title: Sending table data from html form to django views
body: <p>I have a html form which has a table with th,td and POST method and action is to a django view. How can I send my td,th values to the django view?</p>
  
  <p>I have tried using input type text and it works but I don't want to use any input type on my td,th rows. Is there a way to access td values directly from django view?</p>
  
  <p>htmlfile:</p>
  
  <pre><code>&lt;form method="post" action="display"&gt;
  {% csrf_token %}
  &lt;table name="resultsTable"&gt;
  &lt;th name="tableHeader"&gt;Name&lt;/th&gt;
  &lt;td name="tableValue"&gt;Jon&lt;/td&gt;
  &lt;button type="Submit"&gt;Display&lt;/button&gt;
  &lt;/table&gt;
  &lt;form&gt;
  </code></pre>
  
  <p>views.py:</p>
  
  <pre><code>@csrf_exempt
  def display(request):
     if request.method=='POST':
        print(request.POST)
  </code></pre>
  
  <p>I want name,jon to be printed in display function</p>