from django.urls import path

from .views import (AutoGenerateMenu, AddMenu, EditMenu, DeleteMenu, GetMenu,
                    GetAllMenus, GetFromMeal, SubstituteMenu)

urlpatterns = [
    path(r'generate/<int:meal>/<int:patient>/', AutoGenerateMenu.as_view(), name="Teste"),
    path(r'add-new/<int:patient_id>/', AddMenu.as_view(), name='AddNewMenu'),
    path(r'edit/<int:menu_id>/', EditMenu.as_view(), name='EditMenu'),
    path(r'get/<int:id>/', GetMenu.as_view(), name='GetMenu'),
    path(r'delete/<int:id>/', DeleteMenu.as_view(), name='DeleteMenu'),
    path(r'get-all/<int:patient_id>/', GetAllMenus.as_view(), name='GetAllMenus'),
    path(r'get-from-meal/<int:patient_id>/<int:meal_id>/', GetFromMeal.as_view(), name='GetFromMeal'),
    path(r'replace/<int:patient_id>/<int:meal_id>/', SubstituteMenu.as_view(), name='SubstituteMenu'),
]
001b0b489f08c7d657a00c000e9ae68a4e67e43c
<mask token>

<mask token>
urlpatterns = [path('generate/<int:meal>/<int:patient>/', AutoGenerateMenu.
    as_view(), name='Teste'), path('add-new/<int:patient_id>/', AddMenu.
    as_view(), name='AddNewMenu'), path('edit/<int:menu_id>/', EditMenu.
    as_view(), name='EditMenu'), path('get/<int:id>/', GetMenu.as_view(),
    name='GetMenu'), path('delete/<int:id>/', DeleteMenu.as_view(), name=
    'DeleteMenu'), path('get-all/<int:patient_id>/', GetAllMenus.as_view(),
    name='GetAllMenus'), path(
    'get-from-meal/<int:patient_id>/<int:meal_id>/', GetFromMeal.as_view(),
    name='GetFromMeal'), path('replace/<int:patient_id>/<int:meal_id>/',
    SubstituteMenu.as_view(), name='SubstituteMenu')]

from django.urls import path
from .views import AutoGenerateMenu, AddMenu, EditMenu, DeleteMenu, GetMenu, GetAllMenus, GetFromMeal, SubstituteMenu
urlpatterns = [path('generate/<int:meal>/<int:patient>/', AutoGenerateMenu.
    as_view(), name='Teste'), path('add-new/<int:patient_id>/', AddMenu.
    as_view(), name='AddNewMenu'), path('edit/<int:menu_id>/', EditMenu.
    as_view(), name='EditMenu'), path('get/<int:id>/', GetMenu.as_view(),
    name='GetMenu'), path('delete/<int:id>/', DeleteMenu.as_view(), name=
    'DeleteMenu'), path('get-all/<int:patient_id>/', GetAllMenus.as_view(),
    name='GetAllMenus'), path(
    'get-from-meal/<int:patient_id>/<int:meal_id>/', GetFromMeal.as_view(),
    name='GetFromMeal'), path('replace/<int:patient_id>/<int:meal_id>/',
    SubstituteMenu.as_view(), name='SubstituteMenu')]

from django.urls import path

from .views import (AutoGenerateMenu, AddMenu, EditMenu, DeleteMenu, GetMenu,
                    GetAllMenus, GetFromMeal, SubstituteMenu)

urlpatterns = [
    path(r'generate/<int:meal>/<int:patient>/', AutoGenerateMenu.as_view(), name="Teste"),
    path(r'add-new/<int:patient_id>/', AddMenu.as_view(), name='AddNewMenu'),
    path(r'edit/<int:menu_id>/', EditMenu.as_view(), name='EditMenu'),
    path(r'get/<int:id>/', GetMenu.as_view(), name='GetMenu'),
    path(r'delete/<int:id>/', DeleteMenu.as_view(), name='DeleteMenu'),
    path(r'get-all/<int:patient_id>/', GetAllMenus.as_view(), name='GetAllMenus'),
    path(r'get-from-meal/<int:patient_id>/<int:meal_id>/', GetFromMeal.as_view(), name='GetFromMeal'),
    path(r'replace/<int:patient_id>/<int:meal_id>/', SubstituteMenu.as_view(), name='SubstituteMenu'),
]