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

8 lines
308 B
Python

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