I have created an update view and am trying to link it to my form 
but the button linking doesn't seem to be working at all

urls.py

```
path('uploadupdate/<int:upload_id>', UploadUpdate.as_view(), name='uploadupdate'),

```

template: 

```
{% load static %}
<!DOCTYPE html>
<html>
<head>
<title>Manage uploads</title>
<link rel="stylesheet" href="{% static 'studyadmin/manageuploads_css.css' %}">
</head>

<body>
<table >
<tr class="main_row"> 
<th> Upload Name </th>
<th> Author Name </th>
<th> Type </th>
<th> Date </th>
<th> Edit </th>
<th>Edit Tags</th>

</tr>
<form >
{% csrf_token %}
{% for uploads in uploads %} <!-- shows all contents -->
<tr>
    <th> {{ uploads.title}} </th>
    <th> {{ uploads.author }} </th>
    <th> {{ uploads.upload_type }} </th>
    <th> {{ uploads.date_posted|date:"d M, Y"  }} </th>

    <th> <button href="{% url 'uploadupdate' uploads.upload_id  %}" type="submit" class="edit" formmethod="POST">Edit</button>  </th>
    <th> <button href="#" type="submit" class="edittags" formmethod="POST" >Edit tags</button>  </th>

{% endfor %}
</form>
</table>
</body>
</html>

```

views.py

```
class UploadUpdate(UpdateView):
form_class = UploadEditForm
template_name = 'studyadmin/upload_update_form.html'
queryset = Uploads.objects.all()

def get_object(self, queryset=None):
    obj = Uploads.objects.get(upload_id=self.kwargs['upload_id'])
    print(obj)
    return obj

def form_valid(self, form):
    upload = form.save(commit=False)
    upload.save()
    return redirect('/manageupload/')

```

I added the relevant code, I feel like its a small error but I can't seem to identify it since I'm very new to Django, any help would be appreciated!