urls.py 181 Bytes
Newer Older
1
2
3
from . import views

from rest_framework import routers
Eliot Berriot's avatar
Eliot Berriot committed
4

5
router = routers.SimpleRouter()
Eliot Berriot's avatar
Eliot Berriot committed
6
router.register(r"tracks", views.TrackFavoriteViewSet, "tracks")
7
8

urlpatterns = router.urls