Commit 5844b7c2 authored by martin0726's avatar martin0726

Added urls for recipe model

parent aaa4113f
...@@ -7,5 +7,10 @@ urlpatterns = [ ...@@ -7,5 +7,10 @@ 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_detail$', RecipesDetailView.as_view(), name='Recipes_Detail_show'),
url(r'^recipes_update$', RecipesUpdateView.as_view(), name='Recipes_Update_show'),
url(r'^recipes_create$', RecipesCreateView.as_view(), name='Recipes_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