|
@@ -36,6 +36,7 @@ from vrobbler.apps.sports.api.views import (
|
|
|
TeamViewSet,
|
|
|
)
|
|
|
from vrobbler.apps.tasks import urls as tasks_urls
|
|
|
+from vrobbler.apps.profiles import urls as profiles_urls
|
|
|
from vrobbler.apps.trails import urls as trails_urls
|
|
|
from vrobbler.apps.beers import urls as beers_urls
|
|
|
from vrobbler.apps.foods import urls as foods_urls
|
|
@@ -63,7 +64,7 @@ router.register(r"players", PlayerViewSet)
|
|
|
router.register(r"sport-events", SportEventViewSet)
|
|
|
router.register(r"teams", TeamViewSet)
|
|
|
router.register(r"users", UserViewSet)
|
|
|
-router.register(r"user_profiles", UserProfileViewSet)
|
|
|
+router.register(r"profiles", UserProfileViewSet)
|
|
|
|
|
|
urlpatterns = [
|
|
|
path("api/v1/", include(router.urls)),
|
|
@@ -88,6 +89,7 @@ urlpatterns = [
|
|
|
path("", include(lifeevents_urls, namespace="life-events")),
|
|
|
path("", include(moods_urls, namespace="moods")),
|
|
|
path("", include(scrobble_urls, namespace="scrobbles")),
|
|
|
+ path("", include(profiles_urls, namespace="profiles")),
|
|
|
path(
|
|
|
"", scrobbles_views.RecentScrobbleList.as_view(), name="vrobbler-home"
|
|
|
),
|