Commit 904c0e03 authored by Lance Michael O. Co's avatar Lance Michael O. Co 😢

ingredient views made

parent d7854a0c
#froyo/views
from django.views.generic.base import TemplateView
from django.views.generic.list import ListView
from django.views.generic.detail import DetailView
from django.views.generic.edit import UpdateView
from django.views.generic.edit import CreateView
class HomeView(TemplateView):
template_name = "home.html"
class TaskCreateView(CreateView):
template_name_suffix='_create_form'
\ No newline at end of file
#Ingredients
class IngredientsList(ListView):
template_name = "ingredients_list.html"
class IngredientsDetail(DetailView):
template_name = "ingredients_detail.html"
class IngredientsUpdate(UpdateView):
template_name = "ingredients_update_form.html"
class IngredientsCreate(CreateView):
template_name = "Ingredients_create_form.html"
\ 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