def get(self): """""" template_params = template.get_params() this_user = models.Ambler.get_by_id(users.get_current_user().email()) existing_services = this_user.GetActiveServices() if this_user else [] service_list = list() for service in self.SERVICS: enabled = service.service_name in existing_services initialized_service = service(this_user, enabled) service_list.append(initialized_service) template_params['services'] = service_list template_params['user'] = this_user template.render_template(self, HOME_TEMPLATE, template_params)
def get(self): template.render_template(self, 'shows.html', {})
def get(self): template.render_template(self, 'index.html', {})
def get(self): template.render_template(self, 'gallery.html', {})
def get(self): template.render_template(self, 'error.html', {})
def get(self): template.render_template(self, 'about.html', {})
def get(self): template.render_template(self, "gallery.html", {})
def get(self): template.render_template(self, 'contact.html', {})