39949562c1
Closes #62
12 lines
363 B
Python
12 lines
363 B
Python
from django.conf.urls import url
|
|
|
|
from .views import FileUploadView, FileDeleteView, ImageFileUploadView
|
|
|
|
app_name = 'files'
|
|
|
|
urlpatterns = [
|
|
url(r'^upload/$', FileUploadView.as_view(), name='upload'),
|
|
url(r'^upload/image/$', ImageFileUploadView.as_view(), name='upload'),
|
|
url(r'^delete/(?P<pk>\d+)/$', FileDeleteView.as_view(), name='delete'),
|
|
]
|