def post(self): lang = self.request.get("lang") resources = Resource.getResources() if lang: resources = Resource.getResourcesForSpanish(resources, True) resources = Resource.getResourcesFor9Through12(resources) values = { "title": "High School", "curr_url": self.request.url, "resources": resources } self.response.out.write(template.render('html/highschool.html', values))
def post(self): lang = self.request.get("lang") resources = Resource.getResources() if lang: resources = Resource.getResourcesForSpanish(resources, True) resources = Resource.getResourcesForCollege(resources) values = { "title": "College", "scholarship": self.request.url + "/scholarship", "curr_url": self.request.url, "resources": resources } self.response.out.write(template.render('html/college.html', values))