11 lines
186 B
Python
11 lines
186 B
Python
from django.urls import path
|
|
|
|
from music.views import TrackAPIView
|
|
|
|
|
|
app_name = "music_api"
|
|
|
|
urlpatterns = [
|
|
path("tracks/<int:pk>/", TrackAPIView.as_view(), name="track_detail"),
|
|
]
|