mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-10 12:32:20 +01:00
Change player to OAuth protocol
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
from django.urls import path
|
||||
|
||||
from .views import SongsListAPIView, SongRetrieveAPIView, SongUploadAPIView, ReportNoteCreateAPIView
|
||||
from .views import SongsListAPIView, SongRetrieveUpdateAPIView, SongUploadAPIView, ReportNoteCreateAPIView
|
||||
|
||||
urlpatterns = [
|
||||
path("", SongsListAPIView.as_view(), name="song_list"),
|
||||
path("<int:pk>/", SongRetrieveAPIView.as_view(), name="song_retrieve"),
|
||||
path("<int:pk>/", SongRetrieveUpdateAPIView.as_view(), name="song_retrieve_update"),
|
||||
path("report-notes/", ReportNoteCreateAPIView.as_view(), name="report_note_create"),
|
||||
path("upload/", SongUploadAPIView.as_view(), name="song_upload"),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user