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
231 B
Python
Raw Normal View History

2016-09-06 08:49:02 +01:00
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"),
]