11 lines
267 B
Python
11 lines
267 B
Python
from django.conf.urls import url
|
|
|
|
from .views import FileUploadView, FileDeleteView
|
|
|
|
app_name = 'files'
|
|
|
|
urlpatterns = [
|
|
url(r'^upload/$', FileUploadView.as_view(), name='upload'),
|
|
url(r'^delete/(?P<pk>\d+)/$', FileDeleteView.as_view(), name='delete'),
|
|
]
|