Pass parameters defined "in the buttons"(template) to view

I have a table, where I add in the last column of every row the buttons “delete” and “edit”. I do this with the url + parameters in the href in the template (see below). I wrote a function for every href + parameter and the scripts work.

                <form method="post">
                    {% csrf_token %}
                    <input type="hidden" name="projekt_id" value="{{objekt.id}}" />
                    <a class="btn btn-outline-secondary btn-sm" href="{% url 'check:remove_project' objekt.id %}" role="button">delete</a>
                    <a class="btn btn-outline-secondary btn-sm" href="{% url 'check:edit_project' objekt.id %}" role="button">edit</a>
                </form>

Since i need such tables very often I want to handle the entire functionality (view the data/edit/delete/create) in one single view (I already have this in one template). My idea/wish is to pass the name= and value= from inside the buttons to the view. There I can distinguish for the appropriate functions - by if-statements- between edit/delete/view/create…

How can the parameters be passed from the BUTTONS in template to the view? Where is the documentation?

I wonder if there is a more elegant way to solve this? (maybe a combination of class based views?)

solved with help:
in template:

                <form method="post">
                    {% csrf_token %}
                    <button type="submit" name="modification" value="delete">Delete</button>
                    <button type="submit" name="modification" value="edit">Edit</button>
                </form>

in view:

  if 'modification' not in request.POST:
       pass
  elif request.POST['modification'] == 'edit':
       print('modification == EDIT')
  elif request.POST['modification'] == 'delete':
       print('modification == DELETE')

Comment: I used a form and thus POST, but there is nothing in the form. Since I make changes in the database I think it should be a POST. right?