from django.urls import path, include
from rest_framework.routers import DefaultRouter
from .views import APIRecipe, APIIngredients, APITags


router = DefaultRouter()
router.register('recipes', APIRecipe, basename='recipes')
router.register('ingredients', APIIngredients, basename='ingredients')
router.register('tags', APITags, basename='tags')

app_name = 'recipe_app'

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

9ef1e0de8a54122f00cfc1ab25123b4770da00fe
<mask token>

<mask token>
router.register('recipes', APIRecipe, basename='recipes')
router.register('ingredients', APIIngredients, basename='ingredients')
router.register('tags', APITags, basename='tags')
<mask token>

<mask token>
router = DefaultRouter()
router.register('recipes', APIRecipe, basename='recipes')
router.register('ingredients', APIIngredients, basename='ingredients')
router.register('tags', APITags, basename='tags')
app_name = 'recipe_app'
urlpatterns = [path('', include(router.urls))]

from django.urls import path, include
from rest_framework.routers import DefaultRouter
from .views import APIRecipe, APIIngredients, APITags
router = DefaultRouter()
router.register('recipes', APIRecipe, basename='recipes')
router.register('ingredients', APIIngredients, basename='ingredients')
router.register('tags', APITags, basename='tags')
app_name = 'recipe_app'
urlpatterns = [path('', include(router.urls))]

from django.urls import path, include
from rest_framework.routers import DefaultRouter
from .views import APIRecipe, APIIngredients, APITags


router = DefaultRouter()
router.register('recipes', APIRecipe, basename='recipes')
router.register('ingredients', APIIngredients, basename='ingredients')
router.register('tags', APITags, basename='tags')

app_name = 'recipe_app'

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