title: JavaScript and HTML button
body: <p>I'm working on a Django project and I'm trying to add buttons that onclick direct you to another page, on a table that is built from a model.</p>
  <p>Here is the HTML for the table:
  <a href="https://i.stack.imgur.com/uzddu.png" rel="nofollow noreferrer">https://i.stack.imgur.com/uzddu.png</a></p>
  <p>And here is the JS function:
  <a href="https://i.stack.imgur.com/lLas9.png" rel="nofollow noreferrer">https://i.stack.imgur.com/lLas9.png</a></p>
  <p>On the site this looks like this:</p>
  <p><a href="https://i.stack.imgur.com/jAZ76.png" rel="nofollow noreferrer">https://i.stack.imgur.com/jAZ76.png</a></p>
  <p>The first button where the ID is 1 when clicked takes me to the right page.
  The second button though is not doing anything check clicked.
  What I'm trying to achieve is every time an application object is created and the table is updated I want the to be able to click the button and go to a page with a url like this: /review/id wit the id being the same as the one on the table.</p>