Commit d1c6dc30 authored by thisLexic's avatar thisLexic

added urls for all views but only connected it to ingredients_list view initially

parent a65ae6c6
...@@ -2,5 +2,18 @@ from django.conf.urls import url ...@@ -2,5 +2,18 @@ from django.conf.urls import url
from . import views from . import views
urlpatterns = [ urlpatterns = [
url(r'ingredients_list/', views.ingredients_list) url(r'ingredients_list/', views.ingredients_list),
url(r'ingredients_detail/', views.ingredients_list),
url(r'ingredients_update_form/', views.ingredients_list),
url(r'ingredients_create_form/', views.ingredients_list),
url(r'recipes_list/', views.ingredients_list),
url(r'recipes_detail/', views.ingredients_list),
url(r'recipes_update_form/', views.ingredients_list),
url(r'recipes_create_form/', views.ingredients_list),
url(r'orders_list/', views.ingredients_list),
url(r'orders_detail/', views.ingredients_list),
url(r'orders_update_form/', views.ingredients_list),
url(r'orders_create_form/', views.ingredients_list),
] ]
\ 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