신은섭(Shin Eun Seop)

fix wrong url pattern

fix files url pattern

kairos03/2018-1-d.cloud#10
......@@ -19,4 +19,5 @@ from django.conf.urls import url, include
urlpatterns = [
url('admin/', admin.site.urls),
url(r'^restapi/', include('restful.urls')),
# url(r'^$', include('website.urls')),
]
......
......@@ -4,7 +4,7 @@ from rest_framework.urlpatterns import format_suffix_patterns
from restful import views
urlpatterns = [
url(r'^files/(?P<path>(\/*[a-zA-z0-9가-힣._-]*/)*)$', views.FileList.as_view(), name='file-list'),
url(r'^files/(?P<path>([a-zA-z0-9가-힣._-]*/)*)$', views.FileList.as_view(), name='file-list'),
url(r'^files/(?P<pk>[0-9]+)/$', views.FileDetail.as_view()),
]
......