Commit 00de31bc authored by littleredpanda14's avatar littleredpanda14

Updated views

parent 24d49e81
......@@ -14,53 +14,63 @@ class JanetView(TemplateView):
class IngredientsListView(ListView):
template_name = 'ingredients_list.html'
pass
#template_name = 'ingredients_list.html'
class IngredientsDetailView(DetailView):
template_name = 'ingredients_detail.html'
pass
#template_name = 'ingredients_detail.html'
class IngredientsUpdateView(UpdateView):
template_name = 'ingredients_update_form.html'
pass
#template_name = 'ingredients_update_form.html'
class IngredientsCreateView(CreateView):
template_name = 'ingredients_create_form.html'
template_name_suffix = '_create_form'
#template_name = 'ingredients_create_form.html'
class RecipesListView(ListView):
template_name = 'recipes_list.html'
pass
#template_name = 'recipes_list.html'
class RecipesDetailView(DetailView):
template_name = 'recipes_detail.html'
pass
#template_name = 'recipes_detail.html'
class RecipesUpdateView(UpdateView):
template_name = 'recipes_update_form.html'
pass
#template_name = 'recipes_update_form.html'
class RecipesCreateView(CreateView):
template_name = 'recipes_create_form.html'
template_name_suffix = '_create_form'
#template_name = 'recipes_create_form.html'
class OrdersListView(ListView):
template_name = 'orders_list.html'
pass
#template_name = 'orders_list.html'
class OrdersDetailView(DetailView):
template_name = 'orders_detail.html'
pass
#template_name = 'orders_detail.html'
class OrdersUpdateView(UpdateView):
template_name = 'orders_update_form.html'
pass
#template_name = 'orders_update_form.html'
class OrdersCreateView(CreateView):
template_name = 'orders_create_form.html'
template_name_suffix = '_create_form'
#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