跳到正文
Simon Willison·· 1 天前

datasette 1.0a47

datasette 1.0a47

中文摘要

中文摘要待更新

英文原文

Release: datasette 1.0a47 Several neat new features in today's Datasette alpha: Incoming many-to-one rows are now represented on the table page in the same way as many-to-many rows in Datasette 1.046 . You can now re-arrange the order in which columns are shown on the table in a way that mixes the relationship columns with the regular table content. Previously the relationships always came at the end. On desktop, table columns can be dragged relative to each other, rather than having to use a separate ordering modal. This new column ordering is reflected in the URL, but is also be saved to localStorage so that when you return to a table it remembers your preferences. Related rows are displayed using a label. Datasette defaults to using a name or column table, but this release introduces the ability to configure a template like {first_name} {last_name} which brings in label data from more than one column. The label template can also now be set through the UI, allowing Datasette users to customize how different tables are presented as related rows. Here's a short video showing how the new column sorting interface works: Tags: datasette

应来源方要求,这里只提供摘要与原文入口。完整内容请阅读原文。

来源:Simon Willison · simonwillison.net