diff --git a/archivist/apps/files/urls.py b/archivist/apps/files/urls.py index 609f4a9..9d3e56d 100644 --- a/archivist/apps/files/urls.py +++ b/archivist/apps/files/urls.py @@ -1,9 +1,11 @@ from django.urls import re_path, path -from . import views +from .views import serve_content_file, fileUpload + +app_name = "files" urlpatterns = [ # Add a URL pattern that captures the file path - path('/', views.serve_content_file, name='serve_content_file'), + path('/', serve_content_file, name='serve_content_file'), # Other URL patterns if any - path('upload/', views.fileUpload, name='file_upload'), + path('upload/', fileUpload, name='file_upload'), ]