home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 609469318

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/datasette/issues/689#issuecomment-609469318 https://api.github.com/repos/simonw/datasette/issues/689 609469318 MDEyOklzc3VlQ29tbWVudDYwOTQ2OTMxOA== 9599 2020-04-05T19:28:14Z 2020-04-05T19:28:14Z OWNER

Here's why: the BaseView.render() method is running jinja_env.select_template() now here:

https://github.com/simonw/datasette/blob/e89b0ef2f9ae89eb3bde83b694f21452ea4858da/datasette/views/base.py#L75-L88

Which means this logic is always called with a template, not a list of strings:

https://github.com/simonw/datasette/blob/e89b0ef2f9ae89eb3bde83b694f21452ea4858da/datasette/app.py#L555-L571

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
573583971  
Powered by Datasette · Queries took 1.133ms · About: github-to-sqlite