title: Send table data from template to view.py in django
body: <p>I am passing a list i.e <code>data_code</code> from <code>view.py</code> to a html file and from there i am printing the data of the table using for loop through the list. There is a editable column in the table <code>&lt;input&gt;</code> and i want to get those data after filled by user on my <code>view.py</code>. so anybody any idea how to do that??</p>
  
  <p>I want to get all <code>{{x.2}}</code> in <code>view.py</code>. It is printing some default value but i want it again after it is being by user.</p>
  
  <p>Here is the code: </p>
  
  <pre><code>&lt;table class="table table-bordered datatable"&gt;
      &lt;thead class="table-head"&gt;
        &lt;tr&gt;
          &lt;th&gt;No&lt;/th&gt;
          &lt;th&gt;Code Point&lt;/th&gt;
          &lt;th&gt;Reference&lt;/th&gt;
          &lt;th&gt;Character&lt;/th&gt;
          &lt;th&gt;Text&lt;/th&gt;
          &lt;th&gt;Description&lt;/th&gt;
        &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
        {% for x in data_code %}
        &lt;tr class="table-row"&gt;
          &lt;td&gt;{{ forloop.counter }}&lt;/td&gt;
          &lt;td&gt;&lt;label&gt;{{ x.0 }}&lt;/label&gt;&lt;/td&gt;
          &lt;td&gt;&lt;input id="codepoint_input" type="text" value={{x.2}} size=3 title="Text"&gt;&lt;/td&gt;
          &lt;td&gt;&lt;label&gt; {{x.3}}&lt;/label&gt;&lt;/td&gt;
          &lt;td&gt;{{x.4}}&lt;/td&gt;
        &lt;/tr&gt;
        {% endfor %}
      &lt;/tbody&gt;
    &lt;/table&gt;
  </code></pre>