datasette
datasette copied to clipboard
An open source multi-tool for exploring and publishing data
To add custom content to the default Datasette `_footer.html` template: `templates/_footer.html`: ```html {% extends "default:_footer.html" %} {% block footer_content %} Terms and Conditions Privacy Policy {{ super() }} {% endblock...
See issue #2378. ---- 📚 Documentation preview 📚: https://datasette--2379.org.readthedocs.build/en/2379/
Fixes #2402 ---- 📚 Documentation preview 📚: https://datasette--2409.org.readthedocs.build/en/2409/
`insert-row: true` permission at the table level should over-ride `insert-row` at the database level
Reported on Discord: https://discord.com/channels/823971286308356157/823971286941302908/1275585489172435048 ```yaml databases: my-db: permissions: insert-row: id: [root, admin] allow: id: [root, admin] tables: my-table: permissions: insert-row: true ``` This should allow _anyone_ to insert into `my-table`,...
> Ideally Datasette would make the primary key available in a `data-` attribute, maybe on the `` for the row. _Originally posted by @simonw in https://github.com/datasette/datasette-checkbox/issues/2#issuecomment-2294228655_
Just like facet's `suggest()` is trapping `QueryInterrupted` for facet columns, we also need to trap `get_row_count()`, which can reach timeout if database tables are big enough. I've included `get_columns()` inside...
---- :books: Documentation preview :books:: https://datasette--2076.org.readthedocs.build/en/2076/
serving multiple database files and getting tired by the default sort, changes so the sort order puts the latest changed databases to be on top of the list so don't...
This PR adds a new section about packaging a plugin using `poetry` within the "Writing plugins" page of the documentation. ---- :books: Documentation preview :books:: https://datasette--2061.org.readthedocs.build/en/2061/
this var `app` isn't actually used? unless init it does some side-effect outside of the event loop, idon't think it's necessary. Feel free to ignore this PR if the deleted...