kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
19 wiersze
449 B
Python
19 wiersze
449 B
Python
from django import urls
|
|
|
|
from funkwhale_api.music import spa_views
|
|
|
|
|
|
urlpatterns = [
|
|
urls.re_path(
|
|
r"^library/tracks/(?P<pk>\d+)/?$", spa_views.library_track, name="library_track"
|
|
),
|
|
urls.re_path(
|
|
r"^library/albums/(?P<pk>\d+)/?$", spa_views.library_album, name="library_album"
|
|
),
|
|
urls.re_path(
|
|
r"^library/artists/(?P<pk>\d+)/?$",
|
|
spa_views.library_artist,
|
|
name="library_artist",
|
|
),
|
|
]
|