Commit 2b928581 authored by Karlo Cabugwang's avatar Karlo Cabugwang

added all the models in urls

parent 98ceaacf
......@@ -8,4 +8,14 @@ urlpatterns = [
url(r'^ingredients/detail$', IngredientsDetailView.as_view(), name='ingredients_detail'),
url(r'^ingredients/new$', IngredientsCreateView.as_view(), name='ingredients_create'),
url(r'^ingredients/update$', IngredientsUpdateView.as_view(), name='ingredients_update'),
url(r'^orders$', OrdersListView.as_view(), name='orders_list'),
url(r'^orders/detail$', OrdersDetailView.as_view(), name='orders_detail'),
url(r'^orders/new$', OrdersCreateView.as_view(), name='orders_create'),
url(r'^orders/update$', OrdersUpdateView.as_view(), name='orders_update'),
url(r'^recipes$', IngredientsListView.as_view(), name='recipes_list'),
url(r'^recipes/detail$', IngredientsDetailView.as_view(), name='recipes_detail'),
url(r'^recipes/new$', IngredientsCreateView.as_view(), name='recipes_create'),
url(r'^recipes/update$', IngredientsUpdateView.as_view(), name='recipes_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