def get(self, keystr): posting = Posting.get(keystr) template_values = { 'posting': posting, 'user': users.get_current_user(), } self.response.out.write(doTemplate("edit", template_values, self.request))
def get(self, keystr): posting = Posting.get(keystr) template_values = { 'posting': posting, 'user': users.get_current_user(), } self.response.out.write( doTemplate("edit", template_values, self.request))
def get(self): (postings, olderLink, newerLink) = paged_query( model=Posting, orderProp="dateModified", baseURL="/", pageSize=10, before=self.request.get("before"), after=self.request.get("after")) template_values = { 'postings': postings, 'newer': newerLink, 'older': olderLink, } self.response.out.write(doTemplate("index", template_values, self.request))
def get(self): (postings, olderLink, newerLink) = paged_query(model=Posting, orderProp="dateModified", baseURL="/", pageSize=10, before=self.request.get("before"), after=self.request.get("after")) template_values = { 'postings': postings, 'newer': newerLink, 'older': olderLink, } self.response.out.write( doTemplate("index", template_values, self.request))
def get(self): self.response.out.write(cb_common.doTemplate("admin", {}, self.request))
def get(self): self.response.out.write(cb_common.doTemplate( "admin", {}, self.request))