0

The user enters input and it gets inserted to my database and li element but I want the row to be deleted once the user clicks on it or selects it and then click on a certain button

{% for i in results%}
<div class="container pt-3 pb-3 bg-primary my-4 bg-gradient-light">
    <ul>
        <li>{{i.name}} {{i.quantity}}</li>
    </ul>
</div>
{% endfor%}
  • Does this answer your question? [Deleting rows from database with python flask?](https://stackoverflow.com/questions/25947251/deleting-rows-from-database-with-python-flask) – metatoaster Apr 02 '20 at 05:19
  • unfortunately no –  Apr 02 '20 at 07:29

0 Answers0