title: Django - Getting value from HTML dropdown menu + button
body: <p>I've done some searching already.</p>
  
  <p>I have a program which will do some analysis based on a given country. The HTML form is:</p>
  
  <pre><code>&lt;p&gt;Select a country:&lt;/p&gt;
  
  &lt;select form="countrySelection" id="countrySelect" required&gt;
      &lt;option value=""&gt;&lt;/option&gt;
      &lt;option value="BELGIUM"&gt;Belgium&lt;/option&gt;
      &lt;option value="FRANCE"&gt;France&lt;/option&gt;
      &lt;option value="ITALY"&gt;Italy&lt;/option&gt;
  &lt;/select&gt;
  
  &lt;form action="/analysis" id="countrySelection" method="GET"&gt;
      &lt;br&gt;
      &lt;input class="button" name="countrySubmit" type="submit" value="Start"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>In my urls.py I have:</p>
  
  <pre><code>path('', views.index, name='index'),
  path('analysis/', views.run, name='run'),
  </code></pre>
  
  <p>I want to get the value of the dropdown menu (BELGIUM/FRANCE/ITALY) <em>upon clicking the button</em> and then send it to the view <strong>run</strong>:</p>
  
  <pre><code>def run(request):
  
      country = ...
  
      [...]
  
      return HttpResponse("Completed.")
  </code></pre>
  
  <p>I tried to use "country = request.GET('countrySelection')" and got "TypeError: 'QueryDict' object is not callable" on that line, <a href="https://i.stack.imgur.com/f9VOz.jpg" rel="nofollow noreferrer">due to name="countrySubmit" and value="Start"</a>. However, removing the tags results in "No GET data".</p>