def index_(request): page = define.common_page_start(request.userid, options=["homepage"], title="Home") page.append( define.render("etc/index.html", index.template_fields(request.userid))) return Response(define.common_page_end(request.userid, page))
def index_(request): page = define.common_page_start(request.userid, title="Home", canonical_url="/") page.append( define.render("etc/index.html", index.template_fields(request.userid))) return Response(define.common_page_end(request.userid, page))
def GET(self): now = time.time() page = define.common_page_start(self.user_id, options=["homepage"], title="Home") page.append( define.render(template.etc_index, index.template_fields(self.user_id))) return define.common_page_end(self.user_id, page, now=now)
def index_(request): page = define.common_page_start(request.userid, options=["homepage"], title="Home") page.append(define.render("etc/index.html", index.template_fields(request.userid))) return Response(define.common_page_end(request.userid, page))
def GET(self): now = time.time() page = define.common_page_start(self.user_id, options=["homepage"], title="Home") page.append(define.render("etc/index.html", index.template_fields(self.user_id))) return define.common_page_end(self.user_id, page, now=now)