from django.urls import path, include
from rest_framework import routers

from wine_reviews import views

router = routers.DefaultRouter()
router.register(r'api/wines', views.WineViewSet, basename='wine')

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

7ea22b9916d4be7eeda8794ad19c14cbe7b3b125
<mask token>

<mask token>
router.register('api/wines', views.WineViewSet, basename='wine')
<mask token>

<mask token>
router = routers.DefaultRouter()
router.register('api/wines', views.WineViewSet, basename='wine')
urlpatterns = [path('', include(router.urls))]

from django.urls import path, include
from rest_framework import routers
from wine_reviews import views
router = routers.DefaultRouter()
router.register('api/wines', views.WineViewSet, basename='wine')
urlpatterns = [path('', include(router.urls))]

from django.urls import path, include
from rest_framework import routers

from wine_reviews import views

router = routers.DefaultRouter()
router.register(r'api/wines', views.WineViewSet, basename='wine')

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