#orgs/urls.py
url(r'^org_list/$',org_list,name=org_list),
#orgs/views.py
from django.shortcuts import render
from .models import OrgInfo,TeacherInfo,CityInfo
# Create your views here.
def org_list(request):
all_orgs = OrgInfo.objects.all()
#all_citys = CityInfo.objects.all()
return render(request,'org-list.html',{
'all_orgs':all_orgs
})