def get(self): data = memcache.get('school') if data is None or common.debug: page = self.request.path[8:].capitalize() data = tpl('stub.html', { 'page': page }) memcache.set('school', data) user_tpl(self, data)
def get(self): data = memcache.get('school') if data is None or common.debug: data = tpl('home.html') memcache.set('school', data) user_tpl(self, data)