Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-CloudComputing
/
C_Team_KhuDrive
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
권주희
2020-06-15 18:41:34 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c36dbd3e1c5d1cdf89f1cd3a2880591f58d536d5
c36dbd3e
1 parent
86b3408a
implement restore api
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
backend/api/views.py
backend/khudrive/urls.py
backend/api/views.py
View file @
c36dbd3
This diff is collapsed. Click to expand it.
backend/khudrive/urls.py
View file @
c36dbd3
...
...
@@ -30,6 +30,8 @@ urlpatterns = [
path
(
'admin/'
,
admin
.
site
.
urls
),
path
(
''
,
include
(
router
.
urls
)),
url
(
r'^search/$'
,
views
.
ItemViewSet
.
search
,
name
=
'search'
),
# url(r'^<int:pk>/delete/$', views.ItemViewSet.delete, name='delete'),
url
(
r'^<int:pk>/restore/$'
,
views
.
ItemViewSet
.
restore
,
name
=
'restore'
),
url
(
r'^<int:pk>/share/$'
,
views
.
SharedItemViewSet
.
share
,
name
=
'share'
),
url
(
r'^<int:pk>/move/$'
,
views
.
ItemViewSet
.
move
,
name
=
'move'
),
url
(
r'^<int:pk>/copy/$'
,
views
.
ItemViewSet
.
copy
,
name
=
'copy'
),
...
...
Please
register
or
login
to post a comment