equal
deleted
inserted
replaced
191 except KeyError: |
191 except KeyError: |
192 rset = None |
192 rset = None |
193 selected = self.select(objclss, req, rset, **context) |
193 selected = self.select(objclss, req, rset, **context) |
194 return selected.dispatch(**context) |
194 return selected.dispatch(**context) |
195 |
195 |
196 def main_template(self, req, oid='main', **context): |
196 def main_template(self, req, oid='main-template', **context): |
197 """display query by calling the given template (default to main), |
197 """display query by calling the given template (default to main), |
198 and returning the output as a string instead of requiring the [w]rite |
198 and returning the output as a string instead of requiring the [w]rite |
199 method as argument |
199 method as argument |
200 """ |
200 """ |
201 res = self.render('views', oid, req, **context) |
201 res = self.render('views', oid, req, **context) |