title: Can a radio input send an integer to Django with POST?
body: <p>I'd like to give three choices which are represented by words but are going to POST numbers:</p>
  
  <pre><code>&lt;form method="POST"&gt;
      {% csrf_token %}
      &lt;div class="btn-group" data-toggle="buttons"&gt;
        &lt;label class="btn btn-secondary"&gt;
          &lt;input type="radio" name="intensity" id="Low" value=1 autocomplete="off"&gt; Pale
        &lt;/label&gt;
        &lt;label class="btn btn-secondary"&gt;
          &lt;input type="radio" name="intensity" id="Medium" value=5 autocomplete="off"&gt; Medium
        &lt;/label&gt;
        &lt;label class="btn btn-secondary"&gt;
          &lt;input type="radio" name="intensity" id="High" value=9 autocomplete="off"&gt; Deep
        &lt;/label&gt;
      &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>But then in my view <code>request.POST.get('intensity')</code> is a string. Do I need to manually convert it or there's something I'm missing?</p>
  
  <p>ps. I'm not using Django forms and I don't want to use it at the moment.</p>