Skip to content

Commit

Permalink
Merge pull request #28 from hyeon0697/main
Browse files Browse the repository at this point in the history
🎨(hyeon/feature/random-playlist-crud/#11) url통합, id값을통해 ud구현, 플레이리스트 get, post 통합
  • Loading branch information
TGoddessana authored Sep 19, 2022
2 parents 09103a8 + d681214 commit efce18c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 4 additions & 0 deletions backend/plinic/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
router = SimpleRouter()

urlpatterns = [
#cr - get/post
path('playlist/', views.random_play_list_create),
#rud - get/put/delete
#detail 미구현, get요청처리 작성필요
path('playlist/', views.random_play_list_create),
path('playlist/<int:id>/', views.play_list_detail),
path("", include(router.urls)),
Expand Down
8 changes: 0 additions & 8 deletions backend/plinic/views.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
<<<<<<< HEAD
from django.shortcuts import render

# Create your views here.
=======
import profile
import sys
sys.path.append("..")
Expand Down Expand Up @@ -179,6 +174,3 @@ def delete(self, request, **kwargs):

# return ResponseData
# # watch_videos?video_ids=

# random_play_list_view = RandomPlayListView.as_view()
>>>>>>> 63a35369120da09976ee8458f7bae0a1645104d4

0 comments on commit efce18c

Please sign in to comment.