title: Django post text using submit button without using input tag
body: <p>I have a django template in which there is a form in which I am getting input from the user.</p>
  
  <p><strong>template.html</strong></p>
  
  <pre><code>{% extends 'header.html' %}
  {% load staticfiles %}
  
  {% block content %}
  
      &lt;h3&gt; Questtion&lt;/h3&gt;
  
  
      &lt;img src="/media/{{ image }}" &gt;
      &lt;br&gt; &lt;br&gt;
      &lt;h3&gt; Responses &lt;/h3&gt;
  &lt;form  method="post" action="/tools/submit"&gt;
      {% csrf_token  %}
      &lt;input type="text" name="first_response" placeholder="First Response"  size="40" required&gt;
      &lt;input type="text" name="second_response" placeholder="Second Response"  size="40" required&gt; 
      &lt;input type="text" name="third_response" placeholder="Third Response"  size="40" required&gt; 
      &lt;input type="text" name="fourth_response" placeholder="Fourth Response"  size="40" required&gt;
      &lt;input type="text" name="fifth_response" placeholder="Fifth Response"  size="40" required&gt;
  
      &lt;button type="submit" &gt;Submit&lt;/button&gt;
  &lt;/form&gt;   
  
  {% endblock %}
  </code></pre>
  
  <p>The text from input is easy to get with the following method in <strong>views.py</strong></p>
  
  <pre><code>def post_form(request):
      if request.method == 'POST':
          first_response = request.POST.get('first_response')
          second_response = request.POST.get('second_response')
          third_response = request.POST.get('third_response')
          fourth_response = request.POST.get('fourth_response')
          fifth_response = request.POST.get('fifth_response')
          image_name = # HOW TO GET {{ image }} name here ?
  </code></pre>
  
  <p>But I want to also post {{ image }} from <code>&lt;img src="/media/{{ image }}" &gt;</code> also when the submit button is clicked. How can I do that ? </p>