github
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/642#issuecomment-559142893 | https://api.github.com/repos/simonw/datasette/issues/642 | 559142893 | MDEyOklzc3VlQ29tbWVudDU1OTE0Mjg5Mw== | 9599 | 2019-11-27T15:47:36Z | 2019-11-27T15:47:42Z | OWNER | It can include options for quickly bootstrapping custom template function or SQL function plugins, which are really simple. | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
529429214 | |
https://github.com/simonw/datasette/issues/642#issuecomment-559143123 | https://api.github.com/repos/simonw/datasette/issues/642 | 559143123 | MDEyOklzc3VlQ29tbWVudDU1OTE0MzEyMw== | 9599 | 2019-11-27T15:48:11Z | 2019-11-27T15:48:11Z | OWNER | This will also make bundling static files less error-prone. | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
529429214 | |
https://github.com/simonw/datasette/issues/642#issuecomment-559146316 | https://api.github.com/repos/simonw/datasette/issues/642 | 559146316 | MDEyOklzc3VlQ29tbWVudDU1OTE0NjMxNg== | 9599 | 2019-11-27T15:55:51Z | 2019-11-27T15:55:51Z | OWNER | One thing that put me off cookiecutter in the past is that I didn't think it could conditionally create files. I was wrong! You can use post- hooks to delete the files that you didn't need: https://github.com/audreyr/cookiecutter-pypackage/blob/master/hooks/post_gen_project.py I could use this mechanism to rename directories too if I needed to. | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
529429214 | |
https://github.com/simonw/datasette/issues/642#issuecomment-559207224 | https://api.github.com/repos/simonw/datasette/issues/642 | 559207224 | MDEyOklzc3VlQ29tbWVudDU1OTIwNzIyNA== | 82988 | 2019-11-27T18:40:57Z | 2019-11-27T18:41:07Z | CONTRIBUTOR | Would cookie cutter approaches also work for creating various flavours of customised templates? I need to try to create a couple of sites for myself to get a feel for what sorts of thing are easily doable, and what cribbable cookie cutter items might be. I'm guessing https://simonwillison.net/2019/Nov/25/niche-museums/ is a good place to start from? | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
529429214 | |
https://github.com/simonw/datasette/issues/642#issuecomment-646930059 | https://api.github.com/repos/simonw/datasette/issues/642 | 646930059 | MDEyOklzc3VlQ29tbWVudDY0NjkzMDA1OQ== | 9599 | 2020-06-20T03:19:57Z | 2020-06-20T03:19:57Z | OWNER | @psychemedia sorry I missed your comment before. Niche Museums is definitely the best example of custom templates at the moment: https://github.com/simonw/museums/tree/master/templates I want to comprehensively document the variables made available to custom templates before shipping Datasette 1.0 - just filed that as #857. | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
529429214 | |
https://github.com/simonw/datasette/issues/642#issuecomment-646930160 | https://api.github.com/repos/simonw/datasette/issues/642 | 646930160 | MDEyOklzc3VlQ29tbWVudDY0NjkzMDE2MA== | 9599 | 2020-06-20T03:20:25Z | 2020-06-20T03:20:25Z | OWNER | Shipped this today! https://github.com/simonw/datasette-plugin is a cookiecutter template for creating new plugins. | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
529429214 |