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

router = routers.DefaultRouter()
router.register(r'meal', views.mealViewSet)
router.register(r'food', views.foodViewSet)
router.register(r'chef', views.chefViewSet)
router.register(r'distributor', views.distributorViewSet)
router.register(r'cook', views.cookViewSet)
router.register(r'distribution', views.distributionViewSet)
router.register(r'report', views.reportViewSet)
# router.register(r'test', views.foodTestViewSet)


# Wire up our API using automatic URL routing.
# Additionally, we include login URLs for the browsable API.
urlpatterns = [
    path('', include(router.urls)),
    # path('cook-report/', views.cookReport)
]

e54e8f94edef02d660f3e7421d8a2c34390287c9
<mask token>

<mask token>
router.register('meal', views.mealViewSet)
router.register('food', views.foodViewSet)
router.register('chef', views.chefViewSet)
router.register('distributor', views.distributorViewSet)
router.register('cook', views.cookViewSet)
router.register('distribution', views.distributionViewSet)
router.register('report', views.reportViewSet)
<mask token>

<mask token>
router = routers.DefaultRouter()
router.register('meal', views.mealViewSet)
router.register('food', views.foodViewSet)
router.register('chef', views.chefViewSet)
router.register('distributor', views.distributorViewSet)
router.register('cook', views.cookViewSet)
router.register('distribution', views.distributionViewSet)
router.register('report', views.reportViewSet)
urlpatterns = [path('', include(router.urls))]

from django.urls import include, path
from rest_framework import routers
from . import views
router = routers.DefaultRouter()
router.register('meal', views.mealViewSet)
router.register('food', views.foodViewSet)
router.register('chef', views.chefViewSet)
router.register('distributor', views.distributorViewSet)
router.register('cook', views.cookViewSet)
router.register('distribution', views.distributionViewSet)
router.register('report', views.reportViewSet)
urlpatterns = [path('', include(router.urls))]

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

router = routers.DefaultRouter()
router.register(r'meal', views.mealViewSet)
router.register(r'food', views.foodViewSet)
router.register(r'chef', views.chefViewSet)
router.register(r'distributor', views.distributorViewSet)
router.register(r'cook', views.cookViewSet)
router.register(r'distribution', views.distributionViewSet)
router.register(r'report', views.reportViewSet)
# router.register(r'test', views.foodTestViewSet)


# Wire up our API using automatic URL routing.
# Additionally, we include login URLs for the browsable API.
urlpatterns = [
    path('', include(router.urls)),
    # path('cook-report/', views.cookReport)
]
