Commit ed2319c7 authored by Lance Michael O. Co's avatar Lance Michael O. Co 😢

orders tests passed

parent 4d3a8894
#froyo/urls #froyo/urls
from django.conf.urls import url from django.conf.urls import url
from .views import HomeView, IngredientsList, IngredientsDetail, IngredientsUpdate, IngredientsCreate, RecipesList, RecipesDetail, RecipesUpdate, RecipesCreate from .views import HomeView, IngredientsList, IngredientsDetail, IngredientsUpdate, IngredientsCreate, RecipesList, RecipesDetail, RecipesUpdate, RecipesCreate, OrdersList, OrdersDetail, OrdersUpdate, OrdersCreate
urlpatterns = [ urlpatterns = [
url(r'^$', HomeView, name='home_page'), url(r'^$', HomeView, name='home_page'),
...@@ -17,4 +18,10 @@ urlpatterns = [ ...@@ -17,4 +18,10 @@ urlpatterns = [
url(r'^recipes/detail$', RecipesDetail.as_view(), name='recipes-detail'), url(r'^recipes/detail$', RecipesDetail.as_view(), name='recipes-detail'),
url(r'^recipes/update$', RecipesUpdate.as_view(), name='recipes-update'), url(r'^recipes/update$', RecipesUpdate.as_view(), name='recipes-update'),
url(r'^recipes/create$', RecipesCreate.as_view(), name='recipes-create'), url(r'^recipes/create$', RecipesCreate.as_view(), name='recipes-create'),
#orders urls
url(r'^orders/list$', OrdersList.as_view(), name='orders-list'),
url(r'^orders/detail$', OrdersDetail.as_view(), name='orders-detail'),
url(r'^orders/update$', OrdersUpdate.as_view(), name='orders-update'),
url(r'^orders/create$', OrdersCreate.as_view(), name='orders-create'),
] ]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment