This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
static-share/project/files/urls.py

7 lines
231 B
Python

from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^(?P<token>.*)/(?P<id>.*)/$', views.file_download, name="file_download"),
url(r'^(?P<id>.*)/$', views.SharedFileDetails.as_view(), name="file"),
]