X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/4e359249db1606a8cf23192c89a287523322e1ec..59ff1b66b820a1dd959726ee59ab39e45e91eaff:/project/templates/explorer/file_list.html

diff --git a/project/templates/explorer/file_list.html b/project/templates/explorer/file_list.html
index a9b59e4c..f44a105c 100644
--- a/project/templates/explorer/file_list.html
+++ b/project/templates/explorer/file_list.html
@@ -82,7 +82,7 @@ $(function() {
 <div class="upload-file-widget">
 <h2>Dodaj nowy utwór</h2>
 
-<form action="/api/documents" method="POST" enctype="multipart/form-data">
+<form action="{% url file_upload %}" method="POST" enctype="multipart/form-data">
     {{ bookform }}
     <p><button type="submit">Dodaj książkę</button></p>
 </form>