from django.http import HttpResponse
from django.shortcuts import render

from education.models import School


def school_list(requset):
    schools = School.objects.all()
    context = {
        'schools':schools
    }
    return render(requset, 'education/school_list.html', context)

def school_detail(request, school_id):
    schools = School.objects.get(id=school_id)
    context = {
        'schools': schools,
    }
    return render(request, 'education/deatil.html', context)
7f9d6609889f5e95785ee14fa7516b746ad4c41e
<mask token>

<mask token>


def school_list(requset):
    schools = School.objects.all()
    context = {'schools': schools}
    return render(requset, 'education/school_list.html', context)


<mask token>

<mask token>


def school_list(requset):
    schools = School.objects.all()
    context = {'schools': schools}
    return render(requset, 'education/school_list.html', context)


def school_detail(request, school_id):
    schools = School.objects.get(id=school_id)
    context = {'schools': schools}
    return render(request, 'education/deatil.html', context)

from django.http import HttpResponse
from django.shortcuts import render
from education.models import School


def school_list(requset):
    schools = School.objects.all()
    context = {'schools': schools}
    return render(requset, 'education/school_list.html', context)


def school_detail(request, school_id):
    schools = School.objects.get(id=school_id)
    context = {'schools': schools}
    return render(request, 'education/deatil.html', context)

from django.http import HttpResponse
from django.shortcuts import render

from education.models import School


def school_list(requset):
    schools = School.objects.all()
    context = {
        'schools':schools
    }
    return render(requset, 'education/school_list.html', context)

def school_detail(request, school_id):
    schools = School.objects.get(id=school_id)
    context = {
        'schools': schools,
    }
    return render(request, 'education/deatil.html', context)