title: How to convert base64 variable to plain number in django template?
body: <p>Let's say, we have the following place in the django template:</p>
  <pre><code>&lt;a href=&quot;{% settings_value &quot;BASE_URL&quot; %}{% url 'password_reset_confirm' uidb64=uid token=token %}{% if link_query_params %}?{{ link_query_params }}{% endif %}&quot; target=&quot;_blank&quot;&gt;
  </code></pre>
  <p>How to convert uid to the plain int number in place?</p>