Commit 7ae02902 authored by Santino Campos's avatar Santino Campos

Add url resolutions for all views for ingredients model

parent f746b899
from django.conf.urls import url, include from django.conf.urls import url, include
from .views import ingredients_detail
from .views import ingredients_list
from .views import ingredients_create
from .views import ingredients_update
from .views import recipes_detail
from .views import recipes_list
from .views import recipes_create
from .views import recipes_update
from .views import orders_detail
from .views import orders_list
from .views import orders_create
from .views import orders_update
urlpatterns = [ urlpatterns = [
url(r'', placeholder_view), url(r'ingredients/detail', ingredients_detail, name='ingredients_detail'),
] url(r'ingredients/list', ingredients_list, name='ingredients_list'),
url(r'ingredients/create', ingredients_create, name='ingredients_create'),
url(r'ingredients/update', ingredients_update, name='ingredients_update'),
]
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