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

9 lines
308 B
Python
Raw Normal View History

2016-09-06 08:49:02 +01:00
from django.conf.urls import url
from . import views
urlpatterns = [
2016-09-06 14:06:30 +01:00
url(r'^(?P<id>.*)/hot/$', views.hotlink_file_download, name="file_hot"),
url(r'^(?P<id>.*)/(?P<token>.*)/$', views.file_download, name="file_download"),
2016-09-06 08:49:02 +01:00
url(r'^(?P<id>.*)/$', views.SharedFileDetails.as_view(), name="file"),
]