Commit bb185b66 authored by KY-2187's avatar KY-2187

Update urls.py

parent b211f093
from django.conf.urls import urls
from .views import IngredientsListView
\ No newline at end of file
from .views import IngredientsListView, IngredientsDetailView, IngredientsUpdateView, IngredientsCreateView, RecipesListView, RecipesDetailView, RecipesUpdateView, RecipesCreateView, OrdersListView, OrdersDetailView, OrdersUpdateView, OrdersCreateView
urlpatterns = [
url(r'^ingredients_list$', IngredientsListView.as_view(), name='Ingredients_List_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_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'),
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