from rest_framework.routers import DefaultRouter
from django.urls import path, include
from .views import *

router = DefaultRouter()
router.register(r'items', ItemViewSet, basename='item')
router.register(r'browse', ItemListViewSet, basename='browse-items')

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

66e78e76a68c274a34c9e8d7a16ca87e5aba38b8
<mask token>

<mask token>
router.register('items', ItemViewSet, basename='item')
router.register('browse', ItemListViewSet, basename='browse-items')
<mask token>

<mask token>
router = DefaultRouter()
router.register('items', ItemViewSet, basename='item')
router.register('browse', ItemListViewSet, basename='browse-items')
urlpatterns = [path('', include(router.urls))]

from rest_framework.routers import DefaultRouter
from django.urls import path, include
from .views import *
router = DefaultRouter()
router.register('items', ItemViewSet, basename='item')
router.register('browse', ItemListViewSet, basename='browse-items')
urlpatterns = [path('', include(router.urls))]

from rest_framework.routers import DefaultRouter
from django.urls import path, include
from .views import *

router = DefaultRouter()
router.register(r'items', ItemViewSet, basename='item')
router.register(r'browse', ItemListViewSet, basename='browse-items')

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