Skip to content
Snippets Groups Projects
Verified Commit 165e018d authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

feat: update urls hosts -> profiles

parent b721d3c4
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,6 @@ from django.urls import include, path
from program.views import (
APICategoryViewSet,
APIFundingCategoryViewSet,
APIHostViewSet,
APIImageViewSet,
APILanguageViewSet,
APILicenseViewSet,
......@@ -36,6 +35,7 @@ from program.views import (
APIMusicFocusViewSet,
APINoteViewSet,
APIPlayoutViewSet,
APIProfileViewSet,
APIProgramViewSet,
APIRadioSettingsViewSet,
APIRRuleViewSet,
......@@ -51,7 +51,7 @@ admin.autodiscover()
router = routers.DefaultRouter()
router.register(r"users", APIUserViewSet, basename="user")
router.register(r"hosts", APIHostViewSet, basename="host")
router.register(r"profiles", APIProfileViewSet, basename="profile")
router.register(r"shows", APIShowViewSet, basename="show")
router.register(r"schedules", APIScheduleViewSet, basename="schedule")
router.register(r"timeslots", APITimeSlotViewSet, basename="timeslot")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment