Commit ef4cb5d7 authored by Dirk Reyes's avatar Dirk Reyes

Added the templates to froyo/views.py

parent 9589d83a
from django.shortcuts import render
from django.views.generic.base import TemplateView
# Create your views here.
class IngredientsList(TemplateView):
template_name="ingredients_list.html"
class IngredientsDetail(TemplateView):
template_name="ingredients_detail.html"
class IngredientsUpdateForm(TemplateView):
template_name="ingredients_update_form.html"
class IngredientsCreateForm(TemplateView):
template_name="ingredients_create_form.html"
class RecipesList(TemplateView):
template_name="recipes_list.html"
class RecipesDetail(TemplateView):
template_name="recipes_detail.html"
class RecipesUpdateForm(TemplateView):
template_name="recipes_update_form.html"
class RecipesCreateForm(TemplateView):
template_name="recipes_create_form.html"
class OrdersList(TemplateView):
template_name="orders_list.html"
class OrdersDetail(TemplateView):
template_name="orders_detail.html"
class OrdersUpdateForm(TemplateView):
template_name="orders_update_form.html"
class OrdersCreateForm(TemplateView):
template_name="orders_create_form.html"
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