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

recipes tests passed

parent c6f1abe4
#froyo/urls
from django.conf.urls import url
from .views import HomeView, IngredientsList, IngredientsDetail, IngredientsUpdate, IngredientsCreate
from .views import HomeView, IngredientsList, IngredientsDetail, IngredientsUpdate, IngredientsCreate, RecipesList, RecipesDetail, RecipesUpdate, RecipesCreate
urlpatterns = [
url(r'^$', HomeView, name='home_page'),
......@@ -11,4 +11,10 @@ urlpatterns = [
url(r'^ingredients/detail$', IngredientsDetail.as_view(), name='ingredients-detail'),
url(r'^ingredients/update$', IngredientsUpdate.as_view(), name='ingredients-update'),
url(r'^ingredients/create$', IngredientsCreate.as_view(), name='ingredients-create'),
#recipes urls
url(r'^recipes/list$', RecipesList.as_view(), name='recipes-list'),
url(r'^recipes/detail$', RecipesDetail.as_view(), name='recipes-detail'),
url(r'^recipes/update$', RecipesUpdate.as_view(), name='recipes-update'),
url(r'^recipes/create$', RecipesCreate.as_view(), name='recipes-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