Commit d26771dc authored by martin0726's avatar martin0726

Added urls for orders model

parent 5844b7c2
...@@ -7,10 +7,15 @@ urlpatterns = [ ...@@ -7,10 +7,15 @@ urlpatterns = [
url(r'^ingredients_detail$', IngredientsDetailView.as_view(), name='Ingredients_Detail_show'), url(r'^ingredients_detail$', IngredientsDetailView.as_view(), name='Ingredients_Detail_show'),
url(r'^ingredients_update$', IngredientsUpdateView.as_view(), name='Ingredients_Update_show'), url(r'^ingredients_update$', IngredientsUpdateView.as_view(), name='Ingredients_Update_show'),
url(r'^ingredients_create$', IngredientsCreateView.as_view(), name='Ingredients_Create_show'), url(r'^ingredients_create$', IngredientsCreateView.as_view(), name='Ingredients_Create_show'),
url(r'^recipes_list$', RecipesListView.as_view(), name='Recipes_List_show'), url(r'^recipes_list$', RecipesListView.as_view(), name='Recipes_List_show'),
url(r'^recipes_detail$', RecipesDetailView.as_view(), name='Recipes_Detail_show'), url(r'^recipes_detail$', RecipesDetailView.as_view(), name='Recipes_Detail_show'),
url(r'^recipes_update$', RecipesUpdateView.as_view(), name='Recipes_Update_show'), url(r'^recipes_update$', RecipesUpdateView.as_view(), name='Recipes_Update_show'),
url(r'^recipes_create$', RecipesCreateView.as_view(), name='Recipes_Create_show'), url(r'^recipes_create$', RecipesCreateView.as_view(), name='Recipes_Create_show'),
url(r'^orders_list$', OrdersListView.as_view(), name='Orders_List_show'),
url(r'^orders_detail$', OrdersDetailView.as_view(), name='Orders_Detail_show'),
url(r'^orders_update$', OrdersUpdateView.as_view(), name='Orders_Update_show'),
url(r'^orders_create$', OrdersCreateView.as_view(), name='Orders_Create_show'),
] ]
\ 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