10 lines
319 B
Python
10 lines
319 B
Python
|
from django.urls import re_path, path
|
||
|
from . import views
|
||
|
|
||
|
urlpatterns = [
|
||
|
# Add a URL pattern that captures the file path
|
||
|
path('submission/<str:file_hash>', views.serve_submission_file, name='serve_submission_file'),
|
||
|
# Other URL patterns if any
|
||
|
path('upload/', views.fileUpload, name='file_upload'),
|
||
|
]
|