title: django: How do i save form in django without the django forms?
body: <p>I am trying to save a contact form, but i am not using the django form but instead the input field.
  I am getting the name, email address and message body from the html templates using input field like this <code>&lt;input type=&quot;text&quot; id=&quot;name&quot;&gt;</code> but the form doesn't get any data from the input field, it seems i am missing something but i cannot find out what is happening.</p>
  <p>I have tried passing in the name, email and message into <code>id=&quot;name&quot;</code> <code>id=&quot;email&quot;</code> <code>id=&quot;message&quot;</code> but nothing still happends.</p>
  <p>This is my code
  index.html</p>
  <pre><code>&lt;form method=&quot;POST&quot;&gt;
      {% csrf_token %}
  
      &lt;input type=&quot;text&quot; id=&quot;name&quot; value=&quot;&quot; /&gt;
      &lt;input type=&quot;text&quot; id=&quot;email&quot; value=&quot;&quot; /&gt;
      &lt;input type=&quot;text&quot; id=&quot;address&quot; value=&quot;&quot; /&gt;
  
      &lt;button type=&quot;button&quot;&gt;Let's Withdraw&lt;/button&gt;
  &lt;/form&gt;
  
  </code></pre>
  <p>views.py</p>
  <pre><code>
  if request.method == &quot;POST&quot;:
      name = request.POST.get(&quot;name&quot;)
      email = request.POST.get(&quot;email&quot;)
      message= request.POST.get(&quot;message&quot;)
      print(&quot;Message Sent&quot;)
      return redirect(&quot;core:index&quot;)
  else:
     pass
  </code></pre>