Commit 5b76a145 authored by littleredpanda14's avatar littleredpanda14

Updated urls

parent 6defcce2
......@@ -16,9 +16,19 @@ from .views import OrdersListView, OrdersDetailView, OrdersUpdateView, OrdersCre
urlpatterns = [
url(r'^froyo$', JanetView.as_view(), name='janet'),
url(r'^froyo$', JanetView.as_view(), name='froyo'),
url(r'^froyo/ingredients$', IngredientsListView.as_view(), name='ingredients_list'),
url(r'^froyo/ingredients/almonds$', IngredientsDetailView.as_view(), name='almonds'),
url(r'^froyo/ingredients/ingredient_name$', IngredientsDetailView.as_view(), name='ingredient_name'),
url(r'^froyo/ingredients/update$', IngredientsUpdateView.as_view(), name='ingredients_update'),
url(r'^froyo/ingredients/create$', IngredientsCreateView.as_view(), name='ingredients_create'),
url(r'^froyo/recipes$', RecipesListView.as_view(), name='ingredients_list'),
url(r'^froyo/recipes/recipe_name$', RecipesDetailView.as_view(), name='recipe_name'),
url(r'^froyo/recipes/update$', RecipesUpdateView.as_view(), name='recipes_update'),
url(r'^froyo/recipes/create$', RecipesCreateView.as_view(), name='recipes_create'),
url(r'^froyo/orders$', OrdersListView.as_view(), name='orders_list'),
url(r'^froyo/orders/order_name$', OrdersCreateView.as_view(), name='order_name'),
url(r'^froyo/orders/update$', OrdersUpdateView.as_view(), name='orders_update'),
url(r'^froyo/orders/create$', OrdersDetailView.as_view(), name='orders_create'),
]
\ 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