Commit aaa4113f authored by martin0726's avatar martin0726

Added urls.py

This is just for the ingredients model
parent d8491301
from django.conf.urls import url
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'),
]
\ 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