from django.conf.urls import include
from rest_framework.routers import DefaultRouter
from django.urls import path
from .views import VideoViewSet

app_name = 'youtube'

router = DefaultRouter()
router.register(r'videos', VideoViewSet, base_name='videos')

urlpatterns = [
    path('', include(router.urls))
]

8996c9f654cc1ccec038375d9ec6cefac87a0f6c
<mask token>

<mask token>
router.register('videos', VideoViewSet, base_name='videos')
<mask token>

<mask token>
app_name = 'youtube'
router = DefaultRouter()
router.register('videos', VideoViewSet, base_name='videos')
urlpatterns = [path('', include(router.urls))]

from django.conf.urls import include
from rest_framework.routers import DefaultRouter
from django.urls import path
from .views import VideoViewSet
app_name = 'youtube'
router = DefaultRouter()
router.register('videos', VideoViewSet, base_name='videos')
urlpatterns = [path('', include(router.urls))]

from django.conf.urls import include
from rest_framework.routers import DefaultRouter
from django.urls import path
from .views import VideoViewSet

app_name = 'youtube'

router = DefaultRouter()
router.register(r'videos', VideoViewSet, base_name='videos')

urlpatterns = [
    path('', include(router.urls))
]
