Commit e14f1aa1 authored by Santino Campos's avatar Santino Campos

Add views for ingredients model

parent 4a324950
from django.shortcuts import render from django.shortcuts import render
# Create your views here. # Create your views here.
def ingredients_list(request):
return render(request, 'ingredients_list.html')
def ingredients_detail(request):
return render(request, 'ingredients_detail.html')
def ingredients_update(request):
return render(request, 'ingredients_update_form.html')
def ingredients_create(request):
return render(request, 'ingredients_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