title: Django website - make button link to a different app
body: <p>I am trying to make a button that links to another app when you click it.</p>
  
  <p>For some reason, this works:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;a href="{% url 'ridesharing:ride-list' %}" target="blank"&gt;Find a ride&lt;/a&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>But this does not:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;button type="button" class="btn btn-xl" style=" border-color: rgb(2,132,69); background-color: rgb(2,132,69); color: rgb(246,246,247); font-family: Verdana;font-size: large" href="{% url 'ridesharing:ride-list' %}"&gt;Find a ride&lt;/button&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I am using a button because I like how I can customize how it looks. How do I get the button to link to the right app.</p>