diff options
author | Matthew Lemon <y@yulqen.org> | 2024-08-05 21:20:21 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-08-05 21:20:21 +0100 |
commit | 9c9b3084939e77618854e2cbe3cce51029a70f07 (patch) | |
tree | a21d9988bd62eb5d7bb2049ba06d594bdbf8f592 /pyblackbird_cc/resources/views.py | |
parent | fd1bc6777df5b4c85c899e3bcdd1293a6bead630 (diff) |
wip: adding delete and replace buttons for PDFs
Diffstat (limited to 'pyblackbird_cc/resources/views.py')
-rw-r--r-- | pyblackbird_cc/resources/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyblackbird_cc/resources/views.py b/pyblackbird_cc/resources/views.py index 8958339..5922151 100644 --- a/pyblackbird_cc/resources/views.py +++ b/pyblackbird_cc/resources/views.py @@ -341,7 +341,7 @@ def update_resource_metadata(request, pk): # Change resource_id to pk @login_required() -def update_resource_pdfs(request, pk): +def add_resource_pdfs(request, pk): resource = get_object_or_404(Resource, pk=pk) if request.method == "POST": form = ResourceUpdatePDFsForm(request.POST, request.FILES) |