<gh_stars>0
from django.urls import path,include
from rest_framework.routers import DefaultRouter
from .views import HelloAPIView,HelloViewsSet,UserProfileViewSet,UserLoginAPIView,UserProfileFeedViewSet
router=DefaultRouter()
router.register('helloviewset',HelloViewsSet,basename='viewset')
router.register('profileview',UserProfileViewSet,basename='profile')
router.register('feed',UserProfileFeedViewSet,basename='feed')
urlpatterns =[
path('helloview',HelloAPIView.as_view(),name='Test'),
path('login/',UserLoginAPIView.as_view()),
path('',include(router.urls)),




]
from django.urls import path,include
from rest_framework.routers import DefaultRouter
from .views import HelloAPIView,HelloViewsSet,UserProfileViewSet,UserLoginAPIView,UserProfileFeedViewSet
router=DefaultRouter()
router.register('helloviewset',HelloViewsSet,basename='viewset')
router.register('profileview',UserProfileViewSet,basename='profile')
router.register('feed',UserProfileFeedViewSet,basename='feed')
urlpatterns =[
path('helloview',HelloAPIView.as_view(),name='Test'),
path('login/',UserLoginAPIView.as_view()),
path('',include(router.urls)),




]