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

ingredients update test passed

parent db520592
#froyo/urls #froyo/urls
from django.conf.urls import url from django.conf.urls import url
from .views import HomeView, IngredientsList, IngredientsDetail from .views import HomeView, IngredientsList, IngredientsDetail, IngredientsUpdate
urlpatterns = [ urlpatterns = [
url(r'^$', HomeView, name='home_page'), url(r'^$', HomeView, name='home_page'),
#ingredients urls
url(r'^ingredients/list$', IngredientsList.as_view(), name='ingredients-list'), url(r'^ingredients/list$', IngredientsList.as_view(), name='ingredients-list'),
url(r'^ingredients/detail$', IngredientsDetail.as_view(), name='ingredients-detail'), url(r'^ingredients/detail$', IngredientsDetail.as_view(), name='ingredients-detail'),
url(r'^ingredients/update$', IngredientsUpdate.as_view(), name='ingredients-update'),
] ]
\ 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