mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-09 18:52:23 +01:00
11 lines
445 B
Python
11 lines
445 B
Python
from django.urls import path
|
|
|
|
from .views import SongsListAPIView, SongRetrieveAPIView, SongUploadAPIView, ReportNoteCreateAPIView
|
|
|
|
urlpatterns = [
|
|
path("", SongsListAPIView.as_view(), name="song_list"),
|
|
path("<int:pk>/", SongRetrieveAPIView.as_view(), name="song_retrieve"),
|
|
path("report-notes/", ReportNoteCreateAPIView.as_view(), name="report_note_create"),
|
|
path("upload/", SongUploadAPIView.as_view(), name="song_upload"),
|
|
]
|