<reponame>tonymedrano/profiles-rest-api
from django.conf.urls import url, include
from rest_framework.routers import DefaultRouter

from profiles_api import views

router = DefaultRouter()
router.register('hello-viewset', views.HelloViewSet, basename='hello-viewset')
router.register('profile', views.UserProfileViewSet, basename='profile')

urlpatterns = [
    url('hello-view/', views.HelloApiView.as_view()),
    url('login', views.UserLoginApiView.as_view()),
    url('', include(router.urls))
]
