<reponame>JimmyDuoc/duoc_2020_django
from django.shortcuts import render
from .models import Instructor

# Create your views here.

def instructores(request):
    instructores = Instructor.objects.all()
    return render(request,"instructores/instructores.html",{'instructores':instructores})
from django.shortcuts import render
from .models import Instructor

# Create your views here.

def instructores(request):
    instructores = Instructor.objects.all()
    return render(request,"instructores/instructores.html",{'instructores':instructores})
# Create your views here.