from django.conf.urls import url

from recipeAPI import views

app_name = 'recipeAPI'
urlpatterns = [
    url(r'^$', views.docs, name='docs'),
    url(r'^recipes/(?P<pk>[A-Za-z_\']+)/$', views.RecipeDetail.as_view(), name='recipe_detail'),
    url(r'^items/(?P<pk>[A-Za-z_\']+)/$', views.ItemDetail.as_view(), name='item_detail'),
    url(r'^items/$', views.ItemList.as_view(), name='item_list'),
    url(r'^items/search/(?P<search_term>[A-Za-z_\']+)/$', views.ItemSearch.as_view(), name='item_search'),
    url(r'^recipes/search/(?P<search_term>[A-Za-z_\']+)/$', views.RecipeSearch.as_view(), name='recipe_search'),
    url(r'^manager/item/(?P<pk>[A-Za-z_\']+)/$', views.ItemCreate.as_view(), name='item_create'),
    url(r'^manager/recipe/(?P<pk>[A-Za-z_\']+)/$', views.RecipeCreate.as_view(), name='recipe_create'),
]

00dbe612102ce9a4f2638447df4e41600669c82e
<mask token>

<mask token>
app_name = 'recipeAPI'
urlpatterns = [url('^$', views.docs, name='docs'), url(
    "^recipes/(?P<pk>[A-Za-z_\\']+)/$", views.RecipeDetail.as_view(), name=
    'recipe_detail'), url("^items/(?P<pk>[A-Za-z_\\']+)/$", views.
    ItemDetail.as_view(), name='item_detail'), url('^items/$', views.
    ItemList.as_view(), name='item_list'), url(
    "^items/search/(?P<search_term>[A-Za-z_\\']+)/$", views.ItemSearch.
    as_view(), name='item_search'), url(
    "^recipes/search/(?P<search_term>[A-Za-z_\\']+)/$", views.RecipeSearch.
    as_view(), name='recipe_search'), url(
    "^manager/item/(?P<pk>[A-Za-z_\\']+)/$", views.ItemCreate.as_view(),
    name='item_create'), url("^manager/recipe/(?P<pk>[A-Za-z_\\']+)/$",
    views.RecipeCreate.as_view(), name='recipe_create')]

from django.conf.urls import url
from recipeAPI import views
app_name = 'recipeAPI'
urlpatterns = [url('^$', views.docs, name='docs'), url(
    "^recipes/(?P<pk>[A-Za-z_\\']+)/$", views.RecipeDetail.as_view(), name=
    'recipe_detail'), url("^items/(?P<pk>[A-Za-z_\\']+)/$", views.
    ItemDetail.as_view(), name='item_detail'), url('^items/$', views.
    ItemList.as_view(), name='item_list'), url(
    "^items/search/(?P<search_term>[A-Za-z_\\']+)/$", views.ItemSearch.
    as_view(), name='item_search'), url(
    "^recipes/search/(?P<search_term>[A-Za-z_\\']+)/$", views.RecipeSearch.
    as_view(), name='recipe_search'), url(
    "^manager/item/(?P<pk>[A-Za-z_\\']+)/$", views.ItemCreate.as_view(),
    name='item_create'), url("^manager/recipe/(?P<pk>[A-Za-z_\\']+)/$",
    views.RecipeCreate.as_view(), name='recipe_create')]

from django.conf.urls import url

from recipeAPI import views

app_name = 'recipeAPI'
urlpatterns = [
    url(r'^$', views.docs, name='docs'),
    url(r'^recipes/(?P<pk>[A-Za-z_\']+)/$', views.RecipeDetail.as_view(), name='recipe_detail'),
    url(r'^items/(?P<pk>[A-Za-z_\']+)/$', views.ItemDetail.as_view(), name='item_detail'),
    url(r'^items/$', views.ItemList.as_view(), name='item_list'),
    url(r'^items/search/(?P<search_term>[A-Za-z_\']+)/$', views.ItemSearch.as_view(), name='item_search'),
    url(r'^recipes/search/(?P<search_term>[A-Za-z_\']+)/$', views.RecipeSearch.as_view(), name='recipe_search'),
    url(r'^manager/item/(?P<pk>[A-Za-z_\']+)/$', views.ItemCreate.as_view(), name='item_create'),
    url(r'^manager/recipe/(?P<pk>[A-Za-z_\']+)/$', views.RecipeCreate.as_view(), name='recipe_create'),
]
